Changed types of date/time to Union[str, datetime]
This commit is contained in:
parent
a9801c5ac3
commit
a41339b6af
@ -11,10 +11,10 @@ except ImportError:
|
|||||||
# 2.37. HIM Search (himsearch)
|
# 2.37. HIM Search (himsearch)
|
||||||
def himSearch(accessId: str,
|
def himSearch(accessId: str,
|
||||||
json: bool = True,
|
json: bool = True,
|
||||||
dateB: str = None,
|
dateB: Union[str, datetime] = None,
|
||||||
dateE: str = None,
|
dateE: Union[str, datetime] = None,
|
||||||
timeB: str = None,
|
timeB: Union[str, datetime] = None,
|
||||||
timeE: str = None,
|
timeE: Union[str, datetime] = None,
|
||||||
weekdays: Dict[str, bool] = None,
|
weekdays: Dict[str, bool] = None,
|
||||||
himIds: Union[str, list] = None,
|
himIds: Union[str, list] = None,
|
||||||
hierarchicalView: bool = False,
|
hierarchicalView: bool = False,
|
||||||
@ -52,10 +52,10 @@ def himSearch(accessId: str,
|
|||||||
### Args:
|
### Args:
|
||||||
* accessId (str): _description_
|
* accessId (str): _description_
|
||||||
* json (bool, optional): _description_. Defaults to True.
|
* json (bool, optional): _description_. Defaults to True.
|
||||||
* dateB (str, optional): _description_. Defaults to None.
|
* dateB (Union[str, datetime], optional): _description_. Defaults to None.
|
||||||
* dateE (str, optional): _description_. Defaults to None.
|
* dateE (Union[str, datetime], optional): _description_. Defaults to None.
|
||||||
* timeB (str, optional): _description_. Defaults to None.
|
* timeB (Union[str, datetime], optional): _description_. Defaults to None.
|
||||||
* timeE (str, optional): _description_. Defaults to None.
|
* timeE (Union[str, datetime], optional): _description_. Defaults to None.
|
||||||
* weekdays (Dict[str, bool], optional): _description_. Defaults to None.
|
* weekdays (Dict[str, bool], optional): _description_. Defaults to None.
|
||||||
* himIds (Union[str, list], optional): _description_. Defaults to None.
|
* himIds (Union[str, list], optional): _description_. Defaults to None.
|
||||||
* hierarchicalView (bool, optional): _description_. Defaults to False.
|
* hierarchicalView (bool, optional): _description_. Defaults to False.
|
||||||
|
Loading…
Reference in New Issue
Block a user