- Implement tests for basic and bearer authentication headers in `test_auth.py`. - Create tests for the `EasybillWebhookParser` in `test_webhooks.py`, covering JSON and form-encoded payloads, as well as a generic parse and acknowledgement method.
983 B
983 B
Stocks
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| page | int | The current page | |
| pages | int | Max possible pages | |
| limit | int | Items limitation. Max 1000 | |
| total | int | Total Items | |
| items | List[Stock] | [optional] |
Example
from easybill_generated_sync.models.stocks import Stocks
# TODO update the JSON string below
json = "{}"
# create an instance of Stocks from a JSON string
stocks_instance = Stocks.from_json(json)
# print the JSON string representation of the object
print(Stocks.to_json())
# convert the object into a dict
stocks_dict = stocks_instance.to_dict()
# create an instance of Stocks from a dict
stocks_from_dict = Stocks.from_dict(stocks_dict)