Skip to content

Commit e510e79

Browse files
committed
[auth0-python] Update to 4.11.*
Closes: python#14697
1 parent 6937a9b commit e510e79

File tree

5 files changed

+32
-1
lines changed

5 files changed

+32
-1
lines changed

stubs/auth0-python/@tests/stubtest_allowlist.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ auth0\..*_async
88

99
# Inconsistently implemented, ommitted
1010
auth0\.management\.Auth0\..*
11+
12+
# See https://github.com/auth0/auth0-python/issues/732
13+
auth0.management.__all__

stubs/auth0-python/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
version = "4.10.*"
1+
version = "4.11.*"
22
upstream_repository = "https://github.com/auth0/auth0-python"
33
requires = ["cryptography", "types-requests"]

stubs/auth0-python/auth0/management/__init__.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ from .hooks import Hooks
1717
from .jobs import Jobs
1818
from .log_streams import LogStreams
1919
from .logs import Logs
20+
from .network_acls import NetworkAcls
2021
from .organizations import Organizations
2122
from .resource_servers import ResourceServers
2223
from .roles import Roles
@@ -50,6 +51,7 @@ __all__ = (
5051
"Jobs",
5152
"LogStreams",
5253
"Logs",
54+
"NetworkAcls",
5355
"Organizations",
5456
"ResourceServers",
5557
"Roles",

stubs/auth0-python/auth0/management/auth0.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ from .hooks import Hooks
1818
from .jobs import Jobs
1919
from .log_streams import LogStreams
2020
from .logs import Logs
21+
from .network_acls import NetworkAcls
2122
from .organizations import Organizations
2223
from .prompts import Prompts
2324
from .resource_servers import ResourceServers
@@ -51,6 +52,7 @@ class Auth0:
5152
jobs: Jobs
5253
log_streams: LogStreams
5354
logs: Logs
55+
network_acls: NetworkAcls
5456
organizations: Organizations
5557
prompts: Prompts
5658
resource_servers: ResourceServers
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
from _typeshed import Incomplete
2+
3+
from ..rest import RestClient, RestClientOptions
4+
from ..types import TimeoutType
5+
6+
class NetworkAcls:
7+
domain: str
8+
protocol: str
9+
client: RestClient
10+
def __init__(
11+
self,
12+
domain: str,
13+
token: str,
14+
telemetry: bool = True,
15+
timeout: TimeoutType = 5.0,
16+
protocol: str = "https",
17+
rest_options: RestClientOptions | None = None,
18+
) -> None: ...
19+
def all(self, page: int = 0, per_page: int = 25, include_totals: bool = True) -> list[dict[str, Incomplete]]: ...
20+
def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
21+
def get(self, id: str) -> dict[str, Incomplete]: ...
22+
def delete(self, id: str) -> None: ...
23+
def update(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...
24+
def update_partial(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ...

0 commit comments

Comments
 (0)