Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Mar 27, 2024
1 parent 422ccbc commit 2101d6d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions src/cloudflare/resources/firewall/access_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,9 @@ def edit(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> Optional[AccessRuleEditResponse]:
"""
Updates an IP Access rule defined at the account level.
Updates an IP Access rule defined.
Note: This operation will affect all zones in the account.
Note: This operation will affect all zones in the account or zone.
Args:
configuration: The rule configuration.
Expand Down Expand Up @@ -662,9 +662,9 @@ async def edit(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> Optional[AccessRuleEditResponse]:
"""
Updates an IP Access rule defined at the account level.
Updates an IP Access rule defined.
Note: This operation will affect all zones in the account.
Note: This operation will affect all zones in the account or zone.
Args:
configuration: The rule configuration.
Expand Down
16 changes: 8 additions & 8 deletions src/cloudflare/resources/rulesets/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def edit(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> RulesetsRulesetResponse:
"""
Updates an existing rule in an account ruleset.
Updates an existing rule in an account or zone ruleset.
Args:
ruleset_id: The unique ID of the ruleset.
Expand Down Expand Up @@ -497,7 +497,7 @@ def edit(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> RulesetsRulesetResponse:
"""
Updates an existing rule in an account ruleset.
Updates an existing rule in an account or zone ruleset.
Args:
ruleset_id: The unique ID of the ruleset.
Expand Down Expand Up @@ -558,7 +558,7 @@ def edit(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> RulesetsRulesetResponse:
"""
Updates an existing rule in an account ruleset.
Updates an existing rule in an account or zone ruleset.
Args:
ruleset_id: The unique ID of the ruleset.
Expand Down Expand Up @@ -619,7 +619,7 @@ def edit(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> RulesetsRulesetResponse:
"""
Updates an existing rule in an account ruleset.
Updates an existing rule in an account or zone ruleset.
Args:
ruleset_id: The unique ID of the ruleset.
Expand Down Expand Up @@ -1133,7 +1133,7 @@ async def edit(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> RulesetsRulesetResponse:
"""
Updates an existing rule in an account ruleset.
Updates an existing rule in an account or zone ruleset.
Args:
ruleset_id: The unique ID of the ruleset.
Expand Down Expand Up @@ -1194,7 +1194,7 @@ async def edit(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> RulesetsRulesetResponse:
"""
Updates an existing rule in an account ruleset.
Updates an existing rule in an account or zone ruleset.
Args:
ruleset_id: The unique ID of the ruleset.
Expand Down Expand Up @@ -1255,7 +1255,7 @@ async def edit(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> RulesetsRulesetResponse:
"""
Updates an existing rule in an account ruleset.
Updates an existing rule in an account or zone ruleset.
Args:
ruleset_id: The unique ID of the ruleset.
Expand Down Expand Up @@ -1316,7 +1316,7 @@ async def edit(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> RulesetsRulesetResponse:
"""
Updates an existing rule in an account ruleset.
Updates an existing rule in an account or zone ruleset.
Args:
ruleset_id: The unique ID of the ruleset.
Expand Down

0 comments on commit 2101d6d

Please sign in to comment.