-
Notifications
You must be signed in to change notification settings - Fork 3.2k
First version of Confidential Ledger Python SDK #17951
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
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
34f70d1
bring in working files
lynshi 0ba935b
update pipeline files
lynshi 9007b6d
changes from new template
lynshi 98a8628
pass tests
lynshi 59d1681
update changelog
lynshi 92eb437
test Reader enum too
lynshi 50ffc10
address pr comments
lynshi 53c31d2
new recordings
lynshi fa2781b
keyword only interval and retries
lynshi 9233592
readme wip
lynshi af1e019
update readme, two parts left
lynshi 1e92dff
no more aio warnings
lynshi e249d95
complete readme
lynshi 5bad0fd
typo
lynshi 0866703
add missing __init__ files
lynshi 71be4ed
update readme
lynshi 83cf5be
Merge remote-tracking branch 'upstream/master'
lynshi 50fa1ab
change credential scopes
lynshi b2f50ca
fix typo
lynshi c93d5e9
address apiview comments
lynshi 9873b46
pipeline fix
lynshi cde7ab5
remove test.yml because we cannot run live tests yet
lynshi 5e55baf
bump msrest version
lynshi 6704c00
add network cert as constant
lynshi 51fb614
recordings tests passed
lynshi 08de186
add comment
lynshi 6143094
remove f-strings and no trailing comma in method signature
lynshi b0e7807
more trailing commas removed
lynshi 6a1f523
ci fixes
lynshi 94c457f
need_msrestazure = true
lynshi 9927183
fix remove msrestazure dependency in identity service test
lynshi cd07540
identity test uses None for credential
lynshi 0a786ab
remove localization
lynshi ea33185
more fixes for ci
lynshi cc8cd49
update links in readme
lynshi 94cf735
no from e in python 2.7
lynshi c716de6
fix super for 2.7
lynshi 772f141
update readme
lynshi 7c3ebae
update comment
lynshi 63d7468
fix test packaging
lynshi d33a5bf
update dependencies
lynshi 4686c71
add pylint ignore
lynshi eed0753
fix for 2.7
lynshi c88196e
_generated folder
lynshi 4fcab9c
pylint
lynshi 86cc3e8
super-with-arguments not in pipeline pylint
lynshi b42651a
consume codegen changes
lynshi 809e602
update readme
lynshi 792abe7
fix typo
lynshi e9b4960
change wording
lynshi 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # Release History | ||
|
|
||
|
|
||
| ## 1.0.0b1 (Unreleased) | ||
| - Initial public preview implementation |
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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| include *.md | ||
| include azure/__init__.py | ||
| include azure/confidentialledger/__init__.py | ||
| include azure/confidentialledger/py.typed | ||
| recursive-include tests *.py | ||
| recursive-include samples *.py | ||
470 changes: 470 additions & 0 deletions
470
sdk/confidentialledger/azure-confidentialledger/README.md
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
sdk/confidentialledger/azure-confidentialledger/azure/__init__.py
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 |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
|
|
||
| __path__ = __import__("pkgutil").extend_path(__path__, __name__) | ||
lynshi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
46 changes: 46 additions & 0 deletions
46
sdk/confidentialledger/azure-confidentialledger/azure/confidentialledger/__init__.py
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 |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| # ------------------------------------ | ||
| # Copyright (c) Microsoft Corporation. | ||
| # Licensed under the MIT License. | ||
| # ------------------------------------ | ||
| # pylint: disable=unused-import | ||
|
|
||
| from ._client import ConfidentialLedgerClient | ||
| from ._enums import LedgerUserRole, TransactionState | ||
| from ._models import ( | ||
| AppendResult, | ||
| Consortium, | ||
| ConsortiumMember, | ||
| Constitution, | ||
| EnclaveQuote, | ||
| LedgerEnclaves, | ||
| LedgerEntry, | ||
| LedgerUser, | ||
| TransactionReceipt, | ||
| TransactionStatus, | ||
| ) | ||
| from ._shared import ConfidentialLedgerCertificateCredential | ||
|
|
||
|
|
||
| ___all__ = [ | ||
| "ConfidentialLedgerCertificateCredential", | ||
| "ConfidentialLedgerClient", | ||
| # Enums | ||
| "LedgerUserRole", | ||
| "TransactionState", | ||
| # Models | ||
| "AppendResult", | ||
| "Consortium", | ||
| "ConsortiumMember", | ||
| "Constitution", | ||
| "EnclaveQuote", | ||
| "LedgerEnclaves", | ||
| "LedgerEntry", | ||
| "LedgerUser", | ||
| "TransactionReceipt", | ||
| "TransactionStatus", | ||
| ] | ||
|
|
||
|
|
||
| from ._version import VERSION | ||
|
|
||
| __version__ = VERSION |
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.