Skip to content

Commit 0c8125f

Browse files
authored
First version of Confidential Ledger Python SDK (Azure#17951)
* bring in working files * update pipeline files * changes from new template * pass tests * update changelog * test Reader enum too * address pr comments * new recordings * keyword only interval and retries * readme wip * update readme, two parts left * no more aio warnings * complete readme * typo * add missing __init__ files * update readme * change credential scopes * fix typo * address apiview comments * pipeline fix * remove test.yml because we cannot run live tests yet * bump msrest version * add network cert as constant * recordings tests passed * add comment * remove f-strings and no trailing comma in method signature * more trailing commas removed * ci fixes * need_msrestazure = true * fix remove msrestazure dependency in identity service test * identity test uses None for credential * remove localization * more fixes for ci * update links in readme * no from e in python 2.7 * fix super for 2.7 * update readme * update comment * fix test packaging * update dependencies * add pylint ignore * fix for 2.7 * _generated folder * pylint * super-with-arguments not in pipeline pylint * consume codegen changes * update readme * fix typo * change wording
1 parent 5b60a79 commit 0c8125f

File tree

95 files changed

+36745
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+36745
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Release History
2+
3+
4+
## 1.0.0b1 (Unreleased)
5+
- Initial public preview implementation
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
include *.md
2+
include azure/__init__.py
3+
include azure/confidentialledger/__init__.py
4+
include azure/confidentialledger/py.typed
5+
recursive-include tests *.py
6+
recursive-include samples *.py

sdk/confidentialledger/azure-confidentialledger/README.md

Lines changed: 470 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# ------------------------------------
2+
# Copyright (c) Microsoft Corporation.
3+
# Licensed under the MIT License.
4+
# ------------------------------------
5+
# pylint: disable=unused-import
6+
7+
from ._client import ConfidentialLedgerClient
8+
from ._enums import LedgerUserRole, TransactionState
9+
from ._models import (
10+
AppendResult,
11+
Consortium,
12+
ConsortiumMember,
13+
Constitution,
14+
EnclaveQuote,
15+
LedgerEnclaves,
16+
LedgerEntry,
17+
LedgerUser,
18+
TransactionReceipt,
19+
TransactionStatus,
20+
)
21+
from ._shared import ConfidentialLedgerCertificateCredential
22+
23+
24+
___all__ = [
25+
"ConfidentialLedgerCertificateCredential",
26+
"ConfidentialLedgerClient",
27+
# Enums
28+
"LedgerUserRole",
29+
"TransactionState",
30+
# Models
31+
"AppendResult",
32+
"Consortium",
33+
"ConsortiumMember",
34+
"Constitution",
35+
"EnclaveQuote",
36+
"LedgerEnclaves",
37+
"LedgerEntry",
38+
"LedgerUser",
39+
"TransactionReceipt",
40+
"TransactionStatus",
41+
]
42+
43+
44+
from ._version import VERSION
45+
46+
__version__ = VERSION

0 commit comments

Comments
 (0)