General clean up. Work on abstracts and websockets
This commit is contained in:
@@ -37,7 +37,7 @@ class Common_Route_Params_No_Account_ID:
|
||||
limit: int = 10,
|
||||
offset: int = 0,
|
||||
by_alias: bool = True,
|
||||
exclude_unset: bool = True,
|
||||
exclude_unset: bool = False,
|
||||
response = None,
|
||||
):
|
||||
self.x_account_id = x_account_id
|
||||
@@ -62,7 +62,7 @@ def common_route_params_no_account_id(
|
||||
offset: int = 0,
|
||||
by_alias: bool = True,
|
||||
exclude_none: Optional[bool] = True,
|
||||
exclude_unset: bool = True,
|
||||
exclude_unset: bool = False,
|
||||
# NOTE: Uncommenting either exclude or include breaks the JSON body format. I do not know why? Should be: {} Becomes this: {"obj_name": {"data_name": "data_value"}} -STI 2022-01-05
|
||||
# exclude: Optional[list] = [], # Leaving this and include commented out
|
||||
# include: Optional[list] = [], # Leaving this and exclude commented out
|
||||
@@ -103,7 +103,7 @@ class Common_Route_Params:
|
||||
limit: int = 10,
|
||||
offset: int = 0,
|
||||
by_alias: bool = True,
|
||||
exclude_unset: bool = True,
|
||||
exclude_unset: bool = False,
|
||||
response = None,
|
||||
):
|
||||
self.x_account_id = x_account_id
|
||||
@@ -127,8 +127,9 @@ def common_route_params(
|
||||
limit: int = 100,
|
||||
offset: int = 0,
|
||||
by_alias: bool = True,
|
||||
exclude_none: Optional[bool] = True,
|
||||
exclude_unset: bool = True,
|
||||
exclude_unset: bool = False,
|
||||
exclude_defaults: Optional[bool] = False,
|
||||
exclude_none: Optional[bool] = False,
|
||||
# NOTE: Uncommenting either exclude or include breaks the JSON body format. I do not know why? Should be: {} Becomes this: {"obj_name": {"data_name": "data_value"}} -STI 2022-01-05
|
||||
# exclude: Optional[list] = [], # Leaving this and include commented out
|
||||
# include: Optional[list] = [], # Leaving this and exclude commented out
|
||||
@@ -169,7 +170,7 @@ class Common_Route_Params_Min:
|
||||
limit: int = 10,
|
||||
offset: int = 0,
|
||||
by_alias: bool = True,
|
||||
exclude_unset: bool = True,
|
||||
exclude_unset: bool = False,
|
||||
response = None,
|
||||
):
|
||||
self.x_account_id = x_account_id
|
||||
@@ -195,7 +196,7 @@ def common_route_params_min(
|
||||
offset: int = 0,
|
||||
by_alias: bool = True,
|
||||
exclude_none: Optional[bool] = True,
|
||||
exclude_unset: bool = True,
|
||||
exclude_unset: bool = False,
|
||||
# NOTE: Uncommenting either exclude or include breaks the JSON body format. I do not know why? Should be: {} Becomes this: {"obj_name": {"data_name": "data_value"}} -STI 2022-01-05
|
||||
# exclude: Optional[list] = [], # Leaving this and include commented out
|
||||
# include: Optional[list] = [], # Leaving this and exclude commented out
|
||||
|
||||
Reference in New Issue
Block a user