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 Sep 30, 2024
1 parent a51012d commit dbb23a1
Show file tree
Hide file tree
Showing 267 changed files with 277 additions and 279 deletions.
6 changes: 3 additions & 3 deletions docs/PermissionApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ check api

```python
import permify
from permify.models.permission_check_body import PermissionCheckBody
from permify.models.check_body import CheckBody
from permify.models.permission_check_response import PermissionCheckResponse
from permify.rest import ApiException
from pprint import pprint
Expand All @@ -39,7 +39,7 @@ with permify.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = permify.PermissionApi(api_client)
tenant_id = 'tenant_id_example' # str | Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes.
body = permify.PermissionCheckBody() # PermissionCheckBody |
body = permify.CheckBody() # CheckBody |

try:
# check api
Expand All @@ -58,7 +58,7 @@ with permify.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**tenant_id** | **str**| Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant &lt;code&gt;t1&lt;/code&gt; for this field. Required, and must match the pattern \\[a-zA-Z0-9-,]+\\“, max 64 bytes. |
**body** | [**PermissionCheckBody**](PermissionCheckBody.md)| |
**body** | [**CheckBody**](CheckBody.md)| |

### Return type

Expand Down
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
16 changes: 8 additions & 8 deletions 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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand All @@ -19,10 +19,10 @@

from pydantic import Field, StrictStr
from typing_extensions import Annotated
from permify.models.check_body import CheckBody
from permify.models.lookup_entity_body import LookupEntityBody
from permify.models.lookup_entity_stream_body import LookupEntityStreamBody
from permify.models.lookup_subject_body import LookupSubjectBody
from permify.models.permission_check_body import PermissionCheckBody
from permify.models.permission_check_response import PermissionCheckResponse
from permify.models.permission_expand_body import PermissionExpandBody
from permify.models.permission_expand_response import PermissionExpandResponse
Expand Down Expand Up @@ -54,7 +54,7 @@ def __init__(self, api_client=None) -> None:
def permissions_check(
self,
tenant_id: Annotated[StrictStr, Field(description="Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes.")],
body: PermissionCheckBody,
body: CheckBody,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
Expand All @@ -74,7 +74,7 @@ def permissions_check(
:param tenant_id: Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes. (required)
:type tenant_id: str
:param body: (required)
:type body: PermissionCheckBody
:type body: CheckBody
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
Expand Down Expand Up @@ -124,7 +124,7 @@ def permissions_check(
def permissions_check_with_http_info(
self,
tenant_id: Annotated[StrictStr, Field(description="Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes.")],
body: PermissionCheckBody,
body: CheckBody,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
Expand All @@ -144,7 +144,7 @@ def permissions_check_with_http_info(
:param tenant_id: Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes. (required)
:type tenant_id: str
:param body: (required)
:type body: PermissionCheckBody
:type body: CheckBody
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
Expand Down Expand Up @@ -194,7 +194,7 @@ def permissions_check_with_http_info(
def permissions_check_without_preload_content(
self,
tenant_id: Annotated[StrictStr, Field(description="Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes.")],
body: PermissionCheckBody,
body: CheckBody,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
Expand All @@ -214,7 +214,7 @@ def permissions_check_without_preload_content(
:param tenant_id: Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \\“[a-zA-Z0-9-,]+\\“, max 64 bytes. (required)
:type tenant_id: str
:param body: (required)
:type body: PermissionCheckBody
:type body: CheckBody
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion 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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion 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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion 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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion 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.2
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion 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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion 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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/models/create_list.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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/models/create_struct.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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion permify/models/data_bundle.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: v1.1.1
The version of the OpenAPI document: v1.1.2
Contact: hello@permify.co
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
Loading

0 comments on commit dbb23a1

Please sign in to comment.