Skip to content

Commit

Permalink
Update python SDK from OpenAPI changes
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions Bot committed Aug 8, 2024
1 parent 918bc53 commit e85432c
Show file tree
Hide file tree
Showing 266 changed files with 374 additions and 374 deletions.
2 changes: 1 addition & 1 deletion permify/api/bundle_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/api/data_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/api/permission_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/api/schema_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/api/tenancy_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/api/watch_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
8 changes: 4 additions & 4 deletions permify/models/abstract_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down Expand Up @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]:
# override the default output from pydantic by calling `to_dict()` of each item in parameter_types (list)
_items = []
if self.parameter_types:
for _item in self.parameter_types:
if _item:
_items.append(_item.to_dict())
for _item_parameter_types in self.parameter_types:
if _item_parameter_types:
_items.append(_item_parameter_types.to_dict())
_dict['parameterTypes'] = _items
return _dict

Expand Down
2 changes: 1 addition & 1 deletion permify/models/any.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/models/argument.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/models/attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/models/attribute_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/models/attribute_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/models/attribute_read_request_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
8 changes: 4 additions & 4 deletions permify/models/attribute_read_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down Expand Up @@ -74,9 +74,9 @@ def to_dict(self) -> Dict[str, Any]:
# override the default output from pydantic by calling `to_dict()` of each item in attributes (list)
_items = []
if self.attributes:
for _item in self.attributes:
if _item:
_items.append(_item.to_dict())
for _item_attributes in self.attributes:
if _item_attributes:
_items.append(_item_attributes.to_dict())
_dict['attributes'] = _items
return _dict

Expand Down
2 changes: 1 addition & 1 deletion permify/models/attribute_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/models/bundle_delete_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/models/bundle_delete_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/models/bundle_read_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/models/bundle_read_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/models/bundle_run_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
8 changes: 4 additions & 4 deletions permify/models/bundle_write_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down Expand Up @@ -73,9 +73,9 @@ def to_dict(self) -> Dict[str, Any]:
# override the default output from pydantic by calling `to_dict()` of each item in bundles (list)
_items = []
if self.bundles:
for _item in self.bundles:
if _item:
_items.append(_item.to_dict())
for _item_bundles in self.bundles:
if _item_bundles:
_items.append(_item_bundles.to_dict())
_dict['bundles'] = _items
return _dict

Expand Down
2 changes: 1 addition & 1 deletion permify/models/bundle_write_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
8 changes: 4 additions & 4 deletions permify/models/check_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down Expand Up @@ -94,9 +94,9 @@ def to_dict(self) -> Dict[str, Any]:
# override the default output from pydantic by calling `to_dict()` of each item in arguments (list)
_items = []
if self.arguments:
for _item in self.arguments:
if _item:
_items.append(_item.to_dict())
for _item_arguments in self.arguments:
if _item_arguments:
_items.append(_item_arguments.to_dict())
_dict['arguments'] = _items
return _dict

Expand Down
2 changes: 1 addition & 1 deletion permify/models/check_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
14 changes: 7 additions & 7 deletions permify/models/checked_expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down Expand Up @@ -80,16 +80,16 @@ def to_dict(self) -> Dict[str, Any]:
# override the default output from pydantic by calling `to_dict()` of each value in reference_map (dict)
_field_dict = {}
if self.reference_map:
for _key in self.reference_map:
if self.reference_map[_key]:
_field_dict[_key] = self.reference_map[_key].to_dict()
for _key_reference_map in self.reference_map:
if self.reference_map[_key_reference_map]:
_field_dict[_key_reference_map] = self.reference_map[_key_reference_map].to_dict()
_dict['referenceMap'] = _field_dict
# override the default output from pydantic by calling `to_dict()` of each value in type_map (dict)
_field_dict = {}
if self.type_map:
for _key in self.type_map:
if self.type_map[_key]:
_field_dict[_key] = self.type_map[_key].to_dict()
for _key_type_map in self.type_map:
if self.type_map[_key_type_map]:
_field_dict[_key_type_map] = self.type_map[_key_type_map].to_dict()
_dict['typeMap'] = _field_dict
# override the default output from pydantic by calling `to_dict()` of source_info
if self.source_info:
Expand Down
2 changes: 1 addition & 1 deletion permify/models/child.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/models/comprehension.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/models/computed_attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/models/computed_user_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/models/constant.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
14 changes: 7 additions & 7 deletions permify/models/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down Expand Up @@ -76,16 +76,16 @@ def to_dict(self) -> Dict[str, Any]:
# override the default output from pydantic by calling `to_dict()` of each item in tuples (list)
_items = []
if self.tuples:
for _item in self.tuples:
if _item:
_items.append(_item.to_dict())
for _item_tuples in self.tuples:
if _item_tuples:
_items.append(_item_tuples.to_dict())
_dict['tuples'] = _items
# override the default output from pydantic by calling `to_dict()` of each item in attributes (list)
_items = []
if self.attributes:
for _item in self.attributes:
if _item:
_items.append(_item.to_dict())
for _item_attributes in self.attributes:
if _item_attributes:
_items.append(_item_attributes.to_dict())
_dict['attributes'] = _items
return _dict

Expand Down
2 changes: 1 addition & 1 deletion permify/models/context_attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
The version of the OpenAPI document: v0.10.1
The version of the OpenAPI document: v0.10.2
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
Loading

0 comments on commit e85432c

Please sign in to comment.