Abc
BulkRequestModel
bulk request base model
can be inherited from
:cvar _request_model: the request model that is used to make the bulk request :type _request_model: Any :cvar _requests: list of requests :type _requests: list
Source code in pyclasher/api/bulk_requests/abc.py
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
|
request_model: Any
property
property of the request model
:return: the specified request model :rtype: Any
requests: list
property
property of the requests
:return: the list of the requests or None if the requests are not done yet :rtype: list
__get_properties()
private method that creates a dictionary of the properties
key: name of the property
value: value of the property
:return: a dictionary of the properties :rtype: dict
Source code in pyclasher/api/bulk_requests/abc.py
16 17 18 19 20 21 |
|
request(client_id=None)
async
asynchronous method that executes the requests
:return: the instance of the bulk request model :rtype: BulkRequestModel
Source code in pyclasher/api/bulk_requests/abc.py
23 24 25 26 |
|