Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 9 additions & 22 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
README.md
docs/Access.md
docs/AccessList.md
docs/AccessRuleCondition.md
docs/AccessRule.md
docs/AccessRulesApi.md
docs/AddBundleGroupRequest.md
docs/AddBundleResourceRequest.md
Expand Down Expand Up @@ -67,6 +67,7 @@ docs/GroupRemoteInfoGitlabGroup.md
docs/GroupRemoteInfoGoogleGroup.md
docs/GroupRemoteInfoLdapGroup.md
docs/GroupRemoteInfoOktaGroup.md
docs/GroupRemoteInfoSnowflakeRole.md
docs/GroupResource.md
docs/GroupResourceList.md
docs/GroupTypeEnum.md
Expand Down Expand Up @@ -175,6 +176,7 @@ docs/UAR.md
docs/UARReviewerAssignmentPolicyEnum.md
docs/UARScope.md
docs/UarsApi.md
docs/UpdateAccessRuleInfo.md
docs/UpdateConfigurationTemplateInfo.md
docs/UpdateGroupBindingInfo.md
docs/UpdateGroupBindingInfoList.md
Expand Down Expand Up @@ -223,7 +225,7 @@ opal_security/exceptions.py
opal_security/models/__init__.py
opal_security/models/access.py
opal_security/models/access_list.py
opal_security/models/access_rule_condition.py
opal_security/models/access_rule.py
opal_security/models/add_bundle_group_request.py
opal_security/models/add_bundle_resource_request.py
opal_security/models/add_group_resource_request.py
Expand Down Expand Up @@ -279,6 +281,7 @@ opal_security/models/group_remote_info_gitlab_group.py
opal_security/models/group_remote_info_google_group.py
opal_security/models/group_remote_info_ldap_group.py
opal_security/models/group_remote_info_okta_group.py
opal_security/models/group_remote_info_snowflake_role.py
opal_security/models/group_resource.py
opal_security/models/group_resource_list.py
opal_security/models/group_type_enum.py
Expand Down Expand Up @@ -376,6 +379,7 @@ opal_security/models/ticketing_provider_enum.py
opal_security/models/uar.py
opal_security/models/uar_reviewer_assignment_policy_enum.py
opal_security/models/uar_scope.py
opal_security/models/update_access_rule_info.py
opal_security/models/update_configuration_template_info.py
opal_security/models/update_group_binding_info.py
opal_security/models/update_group_binding_info_list.py
Expand Down Expand Up @@ -403,24 +407,7 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_access_rule_condition.py
test/test_access_rules_api.py
test/test_add_bundle_group_request.py
test/test_add_bundle_resource_request.py
test/test_bundle.py
test/test_bundle_group.py
test/test_bundle_resource.py
test/test_bundles_api.py
test/test_create_bundle_info.py
test/test_group_containing_group.py
test/test_group_containing_group_list.py
test/test_group_with_access_level.py
test/test_paginated_bundle_group_list.py
test/test_paginated_bundle_list.py
test/test_paginated_bundle_resource_list.py
test/test_rule_clauses.py
test/test_rule_conjunction.py
test/test_rule_disjunction.py
test/test_tag_selector.py
test/test_update_resource_user_request.py
test/test_access_rule.py
test/test_group_remote_info_snowflake_role.py
test/test_update_access_rule_info.py
tox.ini
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.12.0
7.10.0
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This Python package is automatically generated by the [OpenAPI Generator](https:

- API version: 1.0
- [Releases](https://github.com/opalsecurity/opal-python/releases/)
- Generator version: 7.12.0
- Generator version: 7.10.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

For more information, please visit [https://www.opal.dev/](https://www.opal.dev/)
Expand Down Expand Up @@ -82,14 +82,14 @@ configuration = opal.Configuration(
with opal.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = opal.AccessRulesApi(api_client)
access_rule_id = '1b978423-db0a-4037-a4cf-f79c60cb67b3' # str | The access rule ID (group ID) of the access rule.
update_access_rule_info = opal_security.UpdateAccessRuleInfo() # UpdateAccessRuleInfo |

try:
api_response = api_instance.get_access_rule(access_rule_id)
print("The response of AccessRulesApi->get_access_rule:\n")
api_response = api_instance.create_access_rule(update_access_rule_info)
print("The response of AccessRulesApi->create_access_rule:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling AccessRulesApi->get_access_rule: %s\n" % e)
print("Exception when calling AccessRulesApi->create_access_rule: %s\n" % e)

```

Expand Down Expand Up @@ -141,6 +141,7 @@ All URIs are relative to *https://api.opal.dev/v1*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*AccessRulesApi* | [**create_access_rule**](docs/AccessRulesApi.md#create_access_rule) | **POST** /access-rules |
*AccessRulesApi* | [**get_access_rule**](docs/AccessRulesApi.md#get_access_rule) | **GET** /access-rules/{access_rule_id} |
*AccessRulesApi* | [**update_access_rule**](docs/AccessRulesApi.md#update_access_rule) | **PUT** /access-rules/{access_rule_id} |
*AppsApi* | [**get_app**](docs/AppsApi.md#get_app) | **GET** /apps/{app_id} |
Expand Down Expand Up @@ -261,7 +262,7 @@ Class | Method | HTTP request | Description

- [Access](docs/Access.md)
- [AccessList](docs/AccessList.md)
- [AccessRuleCondition](docs/AccessRuleCondition.md)
- [AccessRule](docs/AccessRule.md)
- [AddBundleGroupRequest](docs/AddBundleGroupRequest.md)
- [AddBundleResourceRequest](docs/AddBundleResourceRequest.md)
- [AddGroupResourceRequest](docs/AddGroupResourceRequest.md)
Expand Down Expand Up @@ -317,6 +318,7 @@ Class | Method | HTTP request | Description
- [GroupRemoteInfoGoogleGroup](docs/GroupRemoteInfoGoogleGroup.md)
- [GroupRemoteInfoLdapGroup](docs/GroupRemoteInfoLdapGroup.md)
- [GroupRemoteInfoOktaGroup](docs/GroupRemoteInfoOktaGroup.md)
- [GroupRemoteInfoSnowflakeRole](docs/GroupRemoteInfoSnowflakeRole.md)
- [GroupResource](docs/GroupResource.md)
- [GroupResourceList](docs/GroupResourceList.md)
- [GroupTypeEnum](docs/GroupTypeEnum.md)
Expand Down Expand Up @@ -414,6 +416,7 @@ Class | Method | HTTP request | Description
- [UAR](docs/UAR.md)
- [UARReviewerAssignmentPolicyEnum](docs/UARReviewerAssignmentPolicyEnum.md)
- [UARScope](docs/UARScope.md)
- [UpdateAccessRuleInfo](docs/UpdateAccessRuleInfo.md)
- [UpdateConfigurationTemplateInfo](docs/UpdateConfigurationTemplateInfo.md)
- [UpdateGroupBindingInfo](docs/UpdateGroupBindingInfo.md)
- [UpdateGroupBindingInfoList](docs/UpdateGroupBindingInfoList.md)
Expand Down
Loading