Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
python-azure-core
az-core-syntx-tuple-bsc1225002.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File az-core-syntx-tuple-bsc1225002.patch of Package python-azure-core
Index: azure-core-1.23.1/azure/core/credentials.py =================================================================== --- azure-core-1.23.1.orig/azure/core/credentials.py +++ azure-core-1.23.1/azure/core/credentials.py @@ -9,14 +9,7 @@ from typing_extensions import Protocol import six -class AccessToken(NamedTuple): - """Represents an OAuth access token.""" - - token: str - expires_on: int - -AccessToken.token.__doc__ = """The token string.""" -AccessToken.expires_on.__doc__ = """The token's expiration time in Unix time.""" +AccessToken = NamedTuple("AccessToken", [("token", str), ("expires_on", int)]) class TokenCredential(Protocol):
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor