methodazure 0.1.0__tar.gz → 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {methodazure-0.1.0 → methodazure-0.2.0}/PKG-INFO +2 -1
- {methodazure-0.1.0 → methodazure-0.2.0}/pyproject.toml +2 -1
- methodazure-0.2.0/src/methodazure/__init__.py +7 -0
- {methodazure-0.1.0/src/methodazure → methodazure-0.2.0/src/methodazure/resources}/__init__.py +3 -0
- methodazure-0.2.0/src/methodazure/resources/storage/__init__.py +27 -0
- methodazure-0.2.0/src/methodazure/resources/storage/resources/__init__.py +27 -0
- methodazure-0.2.0/src/methodazure/resources/storage/resources/external/__init__.py +23 -0
- methodazure-0.2.0/src/methodazure/resources/storage/resources/external/blob_info.py +21 -0
- methodazure-0.2.0/src/methodazure/resources/storage/resources/external/external_container.py +22 -0
- methodazure-0.2.0/src/methodazure/resources/storage/resources/external/external_container_configuration_info.py +19 -0
- methodazure-0.2.0/src/methodazure/resources/storage/resources/external/external_container_identification_info.py +20 -0
- methodazure-0.2.0/src/methodazure/resources/storage/resources/external/external_container_resource_info.py +18 -0
- methodazure-0.2.0/src/methodazure/resources/storage/resources/external/external_storage_config.py +20 -0
- methodazure-0.2.0/src/methodazure/resources/storage/resources/external/external_storage_report.py +21 -0
- methodazure-0.2.0/src/methodazure/resources/storage/resources/external/external_storage_result.py +20 -0
- {methodazure-0.1.0 → methodazure-0.2.0}/README.md +0 -0
- {methodazure-0.1.0 → methodazure-0.2.0}/src/methodazure/core/__init__.py +0 -0
- {methodazure-0.1.0 → methodazure-0.2.0}/src/methodazure/core/datetime_utils.py +0 -0
- {methodazure-0.1.0 → methodazure-0.2.0}/src/methodazure/core/enum.py +0 -0
- {methodazure-0.1.0 → methodazure-0.2.0}/src/methodazure/core/pydantic_utilities.py +0 -0
- {methodazure-0.1.0 → methodazure-0.2.0}/src/methodazure/core/serialization.py +0 -0
- {methodazure-0.1.0 → methodazure-0.2.0}/src/methodazure/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: methodazure
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary:
|
|
5
5
|
Requires-Python: >=3.8,<4.0
|
|
6
6
|
Classifier: Intended Audience :: Developers
|
|
@@ -19,6 +19,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.13
|
|
20
20
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
21
21
|
Classifier: Typing :: Typed
|
|
22
|
+
Requires-Dist: pydantic (>=1.9.2)
|
|
22
23
|
Requires-Dist: pydantic-core (>=2.18.2)
|
|
23
24
|
Description-Content-Type: text/markdown
|
|
24
25
|
|
|
@@ -4,7 +4,7 @@ dynamic = ["version"]
|
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
6
|
name = "methodazure"
|
|
7
|
-
version = "v0.
|
|
7
|
+
version = "v0.2.0"
|
|
8
8
|
description = ""
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = []
|
|
@@ -33,6 +33,7 @@ packages = [
|
|
|
33
33
|
|
|
34
34
|
[tool.poetry.dependencies]
|
|
35
35
|
python = "^3.8"
|
|
36
|
+
pydantic = ">= 1.9.2"
|
|
36
37
|
pydantic-core = ">=2.18.2"
|
|
37
38
|
|
|
38
39
|
[tool.poetry.group.dev.dependencies]
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
# isort: skip_file
|
|
4
|
+
|
|
5
|
+
from .resources import (
|
|
6
|
+
BlobInfo,
|
|
7
|
+
ExternalContainer,
|
|
8
|
+
ExternalContainerConfigurationInfo,
|
|
9
|
+
ExternalContainerIdentificationInfo,
|
|
10
|
+
ExternalContainerResourceInfo,
|
|
11
|
+
ExternalStorageConfig,
|
|
12
|
+
ExternalStorageReport,
|
|
13
|
+
ExternalStorageResult,
|
|
14
|
+
external,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
"BlobInfo",
|
|
19
|
+
"ExternalContainer",
|
|
20
|
+
"ExternalContainerConfigurationInfo",
|
|
21
|
+
"ExternalContainerIdentificationInfo",
|
|
22
|
+
"ExternalContainerResourceInfo",
|
|
23
|
+
"ExternalStorageConfig",
|
|
24
|
+
"ExternalStorageReport",
|
|
25
|
+
"ExternalStorageResult",
|
|
26
|
+
"external",
|
|
27
|
+
]
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
# isort: skip_file
|
|
4
|
+
|
|
5
|
+
from . import external
|
|
6
|
+
from .external import (
|
|
7
|
+
BlobInfo,
|
|
8
|
+
ExternalContainer,
|
|
9
|
+
ExternalContainerConfigurationInfo,
|
|
10
|
+
ExternalContainerIdentificationInfo,
|
|
11
|
+
ExternalContainerResourceInfo,
|
|
12
|
+
ExternalStorageConfig,
|
|
13
|
+
ExternalStorageReport,
|
|
14
|
+
ExternalStorageResult,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
"BlobInfo",
|
|
19
|
+
"ExternalContainer",
|
|
20
|
+
"ExternalContainerConfigurationInfo",
|
|
21
|
+
"ExternalContainerIdentificationInfo",
|
|
22
|
+
"ExternalContainerResourceInfo",
|
|
23
|
+
"ExternalStorageConfig",
|
|
24
|
+
"ExternalStorageReport",
|
|
25
|
+
"ExternalStorageResult",
|
|
26
|
+
"external",
|
|
27
|
+
]
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
# isort: skip_file
|
|
4
|
+
|
|
5
|
+
from .blob_info import BlobInfo
|
|
6
|
+
from .external_container import ExternalContainer
|
|
7
|
+
from .external_container_configuration_info import ExternalContainerConfigurationInfo
|
|
8
|
+
from .external_container_identification_info import ExternalContainerIdentificationInfo
|
|
9
|
+
from .external_container_resource_info import ExternalContainerResourceInfo
|
|
10
|
+
from .external_storage_config import ExternalStorageConfig
|
|
11
|
+
from .external_storage_report import ExternalStorageReport
|
|
12
|
+
from .external_storage_result import ExternalStorageResult
|
|
13
|
+
|
|
14
|
+
__all__ = [
|
|
15
|
+
"BlobInfo",
|
|
16
|
+
"ExternalContainer",
|
|
17
|
+
"ExternalContainerConfigurationInfo",
|
|
18
|
+
"ExternalContainerIdentificationInfo",
|
|
19
|
+
"ExternalContainerResourceInfo",
|
|
20
|
+
"ExternalStorageConfig",
|
|
21
|
+
"ExternalStorageReport",
|
|
22
|
+
"ExternalStorageResult",
|
|
23
|
+
]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
import pydantic
|
|
7
|
+
from .....core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class BlobInfo(UniversalBaseModel):
|
|
11
|
+
name: str
|
|
12
|
+
last_modified: typing.Optional[dt.datetime] = pydantic.Field(alias="lastModified", default=None)
|
|
13
|
+
size: typing.Optional[int] = None
|
|
14
|
+
content_type: typing.Optional[str] = pydantic.Field(alias="contentType", default=None)
|
|
15
|
+
|
|
16
|
+
if IS_PYDANTIC_V2:
|
|
17
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="forbid") # type: ignore # Pydantic v2
|
|
18
|
+
else:
|
|
19
|
+
|
|
20
|
+
class Config:
|
|
21
|
+
extra = pydantic.Extra.forbid
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from .....core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
from .external_container_configuration_info import ExternalContainerConfigurationInfo
|
|
8
|
+
from .external_container_identification_info import ExternalContainerIdentificationInfo
|
|
9
|
+
from .external_container_resource_info import ExternalContainerResourceInfo
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class ExternalContainer(UniversalBaseModel):
|
|
13
|
+
identification: ExternalContainerIdentificationInfo
|
|
14
|
+
configuration: ExternalContainerConfigurationInfo
|
|
15
|
+
resources: typing.Optional[ExternalContainerResourceInfo] = None
|
|
16
|
+
|
|
17
|
+
if IS_PYDANTIC_V2:
|
|
18
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="forbid") # type: ignore # Pydantic v2
|
|
19
|
+
else:
|
|
20
|
+
|
|
21
|
+
class Config:
|
|
22
|
+
extra = pydantic.Extra.forbid
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from .....core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ExternalContainerConfigurationInfo(UniversalBaseModel):
|
|
10
|
+
allow_anonymous_list: bool = pydantic.Field(alias="allowAnonymousList")
|
|
11
|
+
allow_anonymous_read: bool = pydantic.Field(alias="allowAnonymousRead")
|
|
12
|
+
public_access_level: typing.Optional[str] = pydantic.Field(alias="publicAccessLevel", default=None)
|
|
13
|
+
|
|
14
|
+
if IS_PYDANTIC_V2:
|
|
15
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="forbid") # type: ignore # Pydantic v2
|
|
16
|
+
else:
|
|
17
|
+
|
|
18
|
+
class Config:
|
|
19
|
+
extra = pydantic.Extra.forbid
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from .....core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ExternalContainerIdentificationInfo(UniversalBaseModel):
|
|
10
|
+
account_name: str = pydantic.Field(alias="accountName")
|
|
11
|
+
container_name: str = pydantic.Field(alias="containerName")
|
|
12
|
+
url: str
|
|
13
|
+
cloud: str
|
|
14
|
+
|
|
15
|
+
if IS_PYDANTIC_V2:
|
|
16
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="forbid") # type: ignore # Pydantic v2
|
|
17
|
+
else:
|
|
18
|
+
|
|
19
|
+
class Config:
|
|
20
|
+
extra = pydantic.Extra.forbid
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from .....core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
from .blob_info import BlobInfo
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ExternalContainerResourceInfo(UniversalBaseModel):
|
|
11
|
+
blobs: typing.Optional[typing.List[BlobInfo]] = None
|
|
12
|
+
|
|
13
|
+
if IS_PYDANTIC_V2:
|
|
14
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="forbid") # type: ignore # Pydantic v2
|
|
15
|
+
else:
|
|
16
|
+
|
|
17
|
+
class Config:
|
|
18
|
+
extra = pydantic.Extra.forbid
|
methodazure-0.2.0/src/methodazure/resources/storage/resources/external/external_storage_config.py
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from .....core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ExternalStorageConfig(UniversalBaseModel):
|
|
10
|
+
url: typing.Optional[str] = None
|
|
11
|
+
target_seed: typing.Optional[str] = pydantic.Field(alias="targetSeed", default=None)
|
|
12
|
+
max_candidates: typing.Optional[int] = pydantic.Field(alias="maxCandidates", default=None)
|
|
13
|
+
cloud: typing.Optional[str] = None
|
|
14
|
+
|
|
15
|
+
if IS_PYDANTIC_V2:
|
|
16
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="forbid") # type: ignore # Pydantic v2
|
|
17
|
+
else:
|
|
18
|
+
|
|
19
|
+
class Config:
|
|
20
|
+
extra = pydantic.Extra.forbid
|
methodazure-0.2.0/src/methodazure/resources/storage/resources/external/external_storage_report.py
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from .....core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
from .external_storage_config import ExternalStorageConfig
|
|
8
|
+
from .external_storage_result import ExternalStorageResult
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class ExternalStorageReport(UniversalBaseModel):
|
|
12
|
+
result: ExternalStorageResult
|
|
13
|
+
config: ExternalStorageConfig
|
|
14
|
+
errors: typing.Optional[typing.List[str]] = None
|
|
15
|
+
|
|
16
|
+
if IS_PYDANTIC_V2:
|
|
17
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="forbid") # type: ignore # Pydantic v2
|
|
18
|
+
else:
|
|
19
|
+
|
|
20
|
+
class Config:
|
|
21
|
+
extra = pydantic.Extra.forbid
|
methodazure-0.2.0/src/methodazure/resources/storage/resources/external/external_storage_result.py
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from .....core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
from .external_container import ExternalContainer
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ExternalStorageResult(UniversalBaseModel):
|
|
11
|
+
external_containers: typing.Optional[typing.List[ExternalContainer]] = pydantic.Field(
|
|
12
|
+
alias="externalContainers", default=None
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
if IS_PYDANTIC_V2:
|
|
16
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="forbid") # type: ignore # Pydantic v2
|
|
17
|
+
else:
|
|
18
|
+
|
|
19
|
+
class Config:
|
|
20
|
+
extra = pydantic.Extra.forbid
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|