Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b2878ea

Browse files
authored
chore: update Python SDK from latest OpenAPI specification
1 parent 3360273 commit b2878ea

File tree

422 files changed

+3377
-3999
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

422 files changed

+3377
-3999
lines changed

docs/AbstractType.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ json = "{}"
1919
# create an instance of AbstractType from a JSON string
2020
abstract_type_instance = AbstractType.from_json(json)
2121
# print the JSON string representation of the object
22-
print(AbstractType.to_json())
22+
print AbstractType.to_json()
2323

2424
# convert the object into a dict
2525
abstract_type_dict = abstract_type_instance.to_dict()
2626
# create an instance of AbstractType from a dict
27-
abstract_type_from_dict = AbstractType.from_dict(abstract_type_dict)
27+
abstract_type_form_dict = abstract_type.from_dict(abstract_type_dict)
2828
```
2929
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
3030

docs/Any.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ json = "{}"
1818
# create an instance of Any from a JSON string
1919
any_instance = Any.from_json(json)
2020
# print the JSON string representation of the object
21-
print(Any.to_json())
21+
print Any.to_json()
2222

2323
# convert the object into a dict
2424
any_dict = any_instance.to_dict()
2525
# create an instance of Any from a dict
26-
any_from_dict = Any.from_dict(any_dict)
26+
any_form_dict = any.from_dict(any_dict)
2727
```
2828
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2929

docs/Argument.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ json = "{}"
1818
# create an instance of Argument from a JSON string
1919
argument_instance = Argument.from_json(json)
2020
# print the JSON string representation of the object
21-
print(Argument.to_json())
21+
print Argument.to_json()
2222

2323
# convert the object into a dict
2424
argument_dict = argument_instance.to_dict()
2525
# create an instance of Argument from a dict
26-
argument_from_dict = Argument.from_dict(argument_dict)
26+
argument_form_dict = argument.from_dict(argument_dict)
2727
```
2828
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2929

docs/Attribute.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ json = "{}"
2020
# create an instance of Attribute from a JSON string
2121
attribute_instance = Attribute.from_json(json)
2222
# print the JSON string representation of the object
23-
print(Attribute.to_json())
23+
print Attribute.to_json()
2424

2525
# convert the object into a dict
2626
attribute_dict = attribute_instance.to_dict()
2727
# create an instance of Attribute from a dict
28-
attribute_from_dict = Attribute.from_dict(attribute_dict)
28+
attribute_form_dict = attribute.from_dict(attribute_dict)
2929
```
3030
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
3131

docs/AttributeDefinition.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ json = "{}"
1919
# create an instance of AttributeDefinition from a JSON string
2020
attribute_definition_instance = AttributeDefinition.from_json(json)
2121
# print the JSON string representation of the object
22-
print(AttributeDefinition.to_json())
22+
print AttributeDefinition.to_json()
2323

2424
# convert the object into a dict
2525
attribute_definition_dict = attribute_definition_instance.to_dict()
2626
# create an instance of AttributeDefinition from a dict
27-
attribute_definition_from_dict = AttributeDefinition.from_dict(attribute_definition_dict)
27+
attribute_definition_form_dict = attribute_definition.from_dict(attribute_definition_dict)
2828
```
2929
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
3030

docs/AttributeFilter.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ json = "{}"
1919
# create an instance of AttributeFilter from a JSON string
2020
attribute_filter_instance = AttributeFilter.from_json(json)
2121
# print the JSON string representation of the object
22-
print(AttributeFilter.to_json())
22+
print AttributeFilter.to_json()
2323

2424
# convert the object into a dict
2525
attribute_filter_dict = attribute_filter_instance.to_dict()
2626
# create an instance of AttributeFilter from a dict
27-
attribute_filter_from_dict = AttributeFilter.from_dict(attribute_filter_dict)
27+
attribute_filter_form_dict = attribute_filter.from_dict(attribute_filter_dict)
2828
```
2929
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
3030

docs/AttributeReadRequestMetadata.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ json = "{}"
1818
# create an instance of AttributeReadRequestMetadata from a JSON string
1919
attribute_read_request_metadata_instance = AttributeReadRequestMetadata.from_json(json)
2020
# print the JSON string representation of the object
21-
print(AttributeReadRequestMetadata.to_json())
21+
print AttributeReadRequestMetadata.to_json()
2222

2323
# convert the object into a dict
2424
attribute_read_request_metadata_dict = attribute_read_request_metadata_instance.to_dict()
2525
# create an instance of AttributeReadRequestMetadata from a dict
26-
attribute_read_request_metadata_from_dict = AttributeReadRequestMetadata.from_dict(attribute_read_request_metadata_dict)
26+
attribute_read_request_metadata_form_dict = attribute_read_request_metadata.from_dict(attribute_read_request_metadata_dict)
2727
```
2828
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2929

docs/AttributeReadResponse.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ json = "{}"
1919
# create an instance of AttributeReadResponse from a JSON string
2020
attribute_read_response_instance = AttributeReadResponse.from_json(json)
2121
# print the JSON string representation of the object
22-
print(AttributeReadResponse.to_json())
22+
print AttributeReadResponse.to_json()
2323

2424
# convert the object into a dict
2525
attribute_read_response_dict = attribute_read_response_instance.to_dict()
2626
# create an instance of AttributeReadResponse from a dict
27-
attribute_read_response_from_dict = AttributeReadResponse.from_dict(attribute_read_response_dict)
27+
attribute_read_response_form_dict = attribute_read_response.from_dict(attribute_read_response_dict)
2828
```
2929
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
3030

docs/AttributeType.md

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,10 @@
22

33
Enumerates the types of attribute. - ATTRIBUTE_TYPE_BOOLEAN: A boolean attribute type. - ATTRIBUTE_TYPE_BOOLEAN_ARRAY: A boolean array attribute type. - ATTRIBUTE_TYPE_STRING: A string attribute type. - ATTRIBUTE_TYPE_STRING_ARRAY: A string array attribute type. - ATTRIBUTE_TYPE_INTEGER: An integer attribute type. - ATTRIBUTE_TYPE_INTEGER_ARRAY: An integer array attribute type. - ATTRIBUTE_TYPE_DOUBLE: A double attribute type. - ATTRIBUTE_TYPE_DOUBLE_ARRAY: A double array attribute type.
44

5-
## Enum
5+
## Properties
66

7-
* `ATTRIBUTE_TYPE_BOOLEAN` (value: `'ATTRIBUTE_TYPE_BOOLEAN'`)
8-
9-
* `ATTRIBUTE_TYPE_BOOLEAN_ARRAY` (value: `'ATTRIBUTE_TYPE_BOOLEAN_ARRAY'`)
10-
11-
* `ATTRIBUTE_TYPE_STRING` (value: `'ATTRIBUTE_TYPE_STRING'`)
12-
13-
* `ATTRIBUTE_TYPE_STRING_ARRAY` (value: `'ATTRIBUTE_TYPE_STRING_ARRAY'`)
14-
15-
* `ATTRIBUTE_TYPE_INTEGER` (value: `'ATTRIBUTE_TYPE_INTEGER'`)
16-
17-
* `ATTRIBUTE_TYPE_INTEGER_ARRAY` (value: `'ATTRIBUTE_TYPE_INTEGER_ARRAY'`)
18-
19-
* `ATTRIBUTE_TYPE_DOUBLE` (value: `'ATTRIBUTE_TYPE_DOUBLE'`)
20-
21-
* `ATTRIBUTE_TYPE_DOUBLE_ARRAY` (value: `'ATTRIBUTE_TYPE_DOUBLE_ARRAY'`)
7+
Name | Type | Description | Notes
8+
------------ | ------------- | ------------- | -------------
229

2310
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2411

docs/BundleApi.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ delete bundle
1818

1919

2020
```python
21+
import time
22+
import os
2123
import permify
2224
from permify.models.bundle_delete_body import BundleDeleteBody
2325
from permify.models.bundle_delete_response import BundleDeleteResponse
@@ -88,6 +90,8 @@ read bundle
8890

8991

9092
```python
93+
import time
94+
import os
9195
import permify
9296
from permify.models.bundle_read_body import BundleReadBody
9397
from permify.models.bundle_read_response import BundleReadResponse
@@ -158,6 +162,8 @@ write bundle
158162

159163

160164
```python
165+
import time
166+
import os
161167
import permify
162168
from permify.models.bundle_write_body import BundleWriteBody
163169
from permify.models.bundle_write_response import BundleWriteResponse

0 commit comments

Comments
 (0)