Skip to content

Commit 484385b

Browse files
authored
Merge pull request #8 from Permify/update-sdk-from-openapi
chore: update Python SDK from latest OpenAPI specification
2 parents afa4844 + 6c16e73 commit 484385b

File tree

275 files changed

+283
-283
lines changed

Some content is hidden

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

275 files changed

+283
-283
lines changed

generator/openapi.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"info": {
44
"title": "Permify API",
55
"description": "Permify is an open source authorization service for creating fine-grained and scalable authorization systems.",
6-
"version": "v1.4.2",
6+
"version": "v1.4.3",
77
"contact": {
88
"name": "API Support",
99
"url": "https://github.com/Permify/permify/issues",
@@ -418,7 +418,7 @@
418418
{
419419
"label": "cURL",
420420
"lang": "curl",
421-
"source": "curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/data/attributes/read' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n \"metadata\": {\n \"snap_token\": \"\"\n },\n \"filter\": {\n \"entity\": {\n \"type\": \"organization\",\n \"ids\": [\n \"1\"\n ]\n },\n \"attributes\": [\n \"private\"\n ]\n }\n}'"
421+
"source": "curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/data/attributes/read' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n metadata: {\n snap_token: \"\",\n },\n filter: {\n entity: {\n type: \"organization\",\n ids: [\n \"1\"\n ]\n },\n attributes: [\n \"private\"\n ],\n }\n}'"
422422
}
423423
]
424424
}
@@ -532,7 +532,7 @@
532532
{
533533
"label": "cURL",
534534
"lang": "curl",
535-
"source": "curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/data/relationships/read' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n \"metadata\": {\n \"snap_token\": \"\"\n },\n \"filter\": {\n \"entity\": {\n \"type\": \"organization\",\n \"ids\": [\n \"1\"\n ]\n },\n \"relation\": \"member\",\n \"subject\": {\n \"type\": \"\",\n \"ids\": [],\n \"relation\": \"\"\n }\n }\n}'"
535+
"source": "curl --location --request POST 'localhost:3476/v1/tenants/{tenant_id}/data/relationships/read' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n metadata: {\n snap_token: \"\",\n },\n filter: {\n entity: {\n type: \"organization\",\n ids: [\n \"1\"\n ]\n },\n relation: \"member\",\n subject: {\n type: \"\",\n ids: [],\n relation: \"\"\n }\n }\n}'"
536536
}
537537
]
538538
}
@@ -3534,4 +3534,4 @@
35343534
"in": "header"
35353535
}
35363536
}
3537-
}
3537+
}

permify/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
88
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
99
10-
The version of the OpenAPI document: v1.4.2
10+
The version of the OpenAPI document: v1.4.3
1111
Contact: hello@permify.co
1212
Generated by OpenAPI Generator (https://openapi-generator.tech)
1313
1414
Do not edit the class manually.
1515
""" # noqa: E501
1616

1717

18-
__version__ = "v1.4.2"
18+
__version__ = "v1.4.3"
1919

2020
# import apis into sdk package
2121
from permify.api.bundle_api import BundleApi

permify/api/bundle_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.4.2
8+
The version of the OpenAPI document: v1.4.3
99
Contact: hello@permify.co
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/api/data_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.4.2
8+
The version of the OpenAPI document: v1.4.3
99
Contact: hello@permify.co
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/api/permission_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.4.2
8+
The version of the OpenAPI document: v1.4.3
99
Contact: hello@permify.co
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/api/schema_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.4.2
8+
The version of the OpenAPI document: v1.4.3
99
Contact: hello@permify.co
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/api/tenancy_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.4.2
8+
The version of the OpenAPI document: v1.4.3
99
Contact: hello@permify.co
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/api/watch_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.4.2
8+
The version of the OpenAPI document: v1.4.3
99
Contact: hello@permify.co
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

permify/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.4.2
8+
The version of the OpenAPI document: v1.4.3
99
Contact: hello@permify.co
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -87,7 +87,7 @@ def __init__(
8787
self.default_headers[header_name] = header_value
8888
self.cookie = cookie
8989
# Set default User-Agent.
90-
self.user_agent = 'OpenAPI-Generator/v1.4.2/python'
90+
self.user_agent = 'OpenAPI-Generator/v1.4.3/python'
9191
self.client_side_validation = configuration.client_side_validation
9292

9393
def __enter__(self):

permify/configuration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Permify is an open source authorization service for creating fine-grained and scalable authorization systems.
77
8-
The version of the OpenAPI document: v1.4.2
8+
The version of the OpenAPI document: v1.4.3
99
Contact: hello@permify.co
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -397,8 +397,8 @@ def to_debug_report(self):
397397
return "Python SDK Debug Report:\n"\
398398
"OS: {env}\n"\
399399
"Python Version: {pyversion}\n"\
400-
"Version of the API: v1.4.2\n"\
401-
"SDK Package Version: v1.4.2".\
400+
"Version of the API: v1.4.3\n"\
401+
"SDK Package Version: v1.4.3".\
402402
format(env=sys.platform, pyversion=sys.version)
403403

404404
def get_host_settings(self):

0 commit comments

Comments
 (0)