Python Client SDK Generated by Speakeasy
Project description
brease-sdk
SDK Installation
pip install brease-sdk
SDK Example Usage
import sdk
from sdk.models import operations, shared
s = sdk.SDK()
req = operations.AddRuleRequest(
add_rule_input=shared.AddRuleInput(
rule=shared.ModelsRule(
action='corrupti',
description='provident',
expression=shared.ModelsRuleExpression3(
condition=shared.Condition(
base=shared.ConditionBase2(
ref=shared.ConditionBaseRef(
dst='unde',
src='nulla',
),
),
parameter=False,
type=shared.ConditionType.RGX,
),
),
id='69a674e0-f467-4cc8-b96e-d151a05dfc2d',
target=shared.ModelsTarget(
target='at',
target_value='maiores',
type='molestiae',
),
),
),
context_id='quod',
)
res = s.context_id.add_rule(req, operations.AddRuleSecurity(
api_token="YOUR_BEARER_TOKEN_HERE",
))
if res.api_add_rule_response is not None:
# handle response
Available Resources and Operations
context_id
- add_rule - Adds a new rule to the context
- evaluate_rules - Evaluate rules within a context on the provided object
- get_all_rules - Returns all rules with the context
- remove_rule - Removes a rule from the context
- replace_rule - Replaces an existing rule within the context
Maturity
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.
Contributions
While we value open-source contributions to this SDK, this library is generated programmatically. Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release !
SDK Created by Speakeasy
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file brease-sdk-1.3.0.tar.gz.
File metadata
- Download URL: brease-sdk-1.3.0.tar.gz
- Upload date:
- Size: 13.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71482b22cdad4c5c7bde8786e8e2274c82014909f076d052e661d38a84ec1754
|
|
| MD5 |
c01cc54fddc9265cbfe3c534c3652cba
|
|
| BLAKE2b-256 |
24b2b089092b8af518cc779a1ebdaa30e5ab0529972272a7bc05f32165db5b95
|
File details
Details for the file brease_sdk-1.3.0-py3-none-any.whl.
File metadata
- Download URL: brease_sdk-1.3.0-py3-none-any.whl
- Upload date:
- Size: 24.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69c970e7a17e3d058bee62189ebcc81c383b7faabcef24047da5f61cff68e7b0
|
|
| MD5 |
7895b906219ffba8aedc732ca4dcecf7
|
|
| BLAKE2b-256 |
300bfbbd943bdf51bfd5247af82cec40acaf0b448ee357a1b85b4c71e9a62174
|