-
Notifications
You must be signed in to change notification settings - Fork 3k
Remove shared #12883
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
Merged
Merged
Remove shared #12883
Changes from 8 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
bc627a6
small change
seankane-msft 39613ab
moved base_client, policies, and access_sigs
seankane-msft 4a4661e
moved base clients around
seankane-msft 884d483
moved authentication, collapsed response_handlers into _deserialize
seankane-msft 9ed5ca0
collapsed constants files, moved into root
seankane-msft 841e867
request handlers removed
seankane-msft 3c82921
condensed models.py
seankane-msft 44bc317
moved all files out, fixes for mypy, pylint, and sphinx
seankane-msft f0d1c31
addressed most of izzy and kristas comments, rest tomorrow morning
seankane-msft 4edbd6f
addressed remaining comments, removed test_table_encryption file, mig…
seankane-msft 56143b3
updating tests.yml according to kristas suggestions
seankane-msft 05435c8
addressed izzys comments, added cls as a kwarg
seankane-msft 0fba6c5
fixes for pylint
seankane-msft a3c0f4d
addressed all anna's changes, changed cls popping, removed two models…
seankane-msft 642caf7
removed a couple more methods and classes
seankane-msft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
# -------------------------------------------------------------------------- | ||
import platform | ||
import sys | ||
from ._generated.version import VERSION | ||
seankane-msft marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
__author__ = 'Microsoft Corp. <[email protected]>' | ||
__version__ = '1.4.2' | ||
seankane-msft marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
@@ -49,3 +50,19 @@ | |
_AUTHORIZATION_HEADER_NAME = 'Authorization' | ||
_COPY_SOURCE_HEADER_NAME = 'x-ms-copy-source' | ||
_REDACTED_VALUE = 'REDACTED' | ||
|
||
|
||
X_MS_VERSION = VERSION | ||
|
||
# Socket timeout in seconds | ||
CONNECTION_TIMEOUT = 20 | ||
READ_TIMEOUT = 20 | ||
|
||
# for python 3.5+, there was a change to the definition of the socket timeout (as far as socket.sendall is concerned) | ||
# The socket timeout is now the maximum total duration to send all data. | ||
if sys.version_info >= (3, 5): | ||
# the timeout to connect is 20 seconds, and the read timeout is 2000 seconds | ||
# the 2000 seconds was calculated with: 100MB (max block size)/ 50KB/s (an arbitrarily chosen minimum upload speed) | ||
READ_TIMEOUT = 2000 | ||
|
||
STORAGE_OAUTH_SCOPE = "https://storage.azure.com/.default" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.