-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[auth0-python] Update to 4.11.* #14704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
version = "4.10.*" | ||
version = "4.11.*" | ||
upstream_repository = "https://github.com/auth0/auth0-python" | ||
requires = ["cryptography", "types-requests"] |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ from .hooks import Hooks | |
from .jobs import Jobs | ||
from .log_streams import LogStreams | ||
from .logs import Logs | ||
from .network_acls import NetworkAcls | ||
from .organizations import Organizations | ||
from .resource_servers import ResourceServers | ||
from .roles import Roles | ||
|
@@ -50,6 +51,7 @@ __all__ = ( | |
"Jobs", | ||
"LogStreams", | ||
"Logs", | ||
"NetworkAcls", | ||
"Organizations", | ||
Comment on lines
+54
to
55
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not totally sure what what's best to include here given auth0/auth0-python#732. I guess one alternative would be to hold off updating the stubs until auth0-python fixes the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't mind waiting for the library to be updated if they don't change semantic version. |
||
"ResourceServers", | ||
"Roles", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
from _typeshed import Incomplete | ||
|
||
from ..rest import RestClient, RestClientOptions | ||
from ..types import TimeoutType | ||
|
||
class NetworkAcls: | ||
domain: str | ||
protocol: str | ||
client: RestClient | ||
def __init__( | ||
self, | ||
domain: str, | ||
token: str, | ||
telemetry: bool = True, | ||
timeout: TimeoutType = 5.0, | ||
protocol: str = "https", | ||
rest_options: RestClientOptions | None = None, | ||
) -> None: ... | ||
def all(self, page: int = 0, per_page: int = 25, include_totals: bool = True) -> list[dict[str, Incomplete]]: ... | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FTR: I used |
||
def create(self, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... | ||
def get(self, id: str) -> dict[str, Incomplete]: ... | ||
def delete(self, id: str) -> None: ... | ||
def update(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... | ||
def update_partial(self, id: str, body: dict[str, Incomplete]) -> dict[str, Incomplete]: ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.