Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"files": {
"README.md": "45e418df185f3c97645bb27cde96c23d25862660c4efb7e07daa6f2f4e541833",
"pyproject.toml": "347f20c1040a5efdf94ec4759b126867f8e62b2baa8790b8cec9c3c2a18ee315",
"src/rpcv2json_client/__init__.py": "fa3fa16a23aaa1ad8d7a87a8c5475ac6b82cfeeabb83625ab4d28d3c3f6a0fbe",
"src/rpcv2json_client/_private/__init__.py": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"src/rpcv2json_client/_private/schemas.py": "b52400dc7e9af25614f09ee4efe1e3ac3fe344436901b62109c94724ee0f0fa2",
"src/rpcv2json_client/aio/__init__.py": "a24a4208d8da09d3b8662a439db4ae9838585fc27fe431b42aa8dd05ec93c78c",
"src/rpcv2json_client/aio/client.py": "d6f1faa50990e24e578d737acce46a7a9ec525f3e3c1e7ce9d2f656ab443b7ef",
"src/rpcv2json_client/aio/config.py": "c0a216a115fb3898ce38834cfa431fa3335ba058c56da59482451804cda325a0",
"src/rpcv2json_client/client.py": "64460ff50e711ab7d110b482a4c5d14ae4aa82b3e4938e4909a6b711462ee6bb",
"src/rpcv2json_client/config.py": "f59386780266cbcd806e0e2bb73e4e5bd43f085073f86737e86b30ba8245e2a2",
"src/rpcv2json_client/models.py": "94050bb13fbc2a62b3299790c28b270e6f42fb038f77fdd72f54077269a9c9a0",
"src/rpcv2json_client/models.pyi": "5f129d34dd7fd48915deb1396753bcd848eda16d5f1c043e988c605216cb4a8f",
"src/rpcv2json_client/py.typed": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"version": 1
}
5 changes: 5 additions & 0 deletions codegen-output-py/rpcv2-json-client/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!-- Code generated by smithy-python-codegen DO NOT EDIT. -->

## rpcv2json_client Client Package

Python client for the rpcv2-json projection
37 changes: 37 additions & 0 deletions codegen-output-py/rpcv2-json-client/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Code generated by smithy-python-codegen DO NOT EDIT.

[project]
name = "rpcv2json_client"
version = "0.0.1"
description = "Python client for the rpcv2-json projection"
readme = "README.md"
requires-python = ">=3.12"
keywords = ["smithy", "rpcv2json_client"]
license = {text = "Apache-2.0"}
dependencies = [
"smithy-core~=0.12.0",
"smithy-http[aiohttp,json,urllib3]~=0.9.0",
]

[build-system]
requires = [
"hatchling",
]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = [
"src/rpcv2json_client",
]

[tool.pyright]
typeCheckingMode = "strict"

[tool.ruff]
target-version = "py312"

[tool.ruff.lint]
ignore = ["F841"]

[tool.ruff.format]
skip-magic-trailing-comma = true
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
from importlib import import_module
from typing import TYPE_CHECKING, Any

__version__: str = "0.0.1"

if TYPE_CHECKING:
from .aio.client import AsyncRpcV2JsonProtocol
from .aio.config import AsyncConfig
from .client import RpcV2JsonProtocol
from .config import Config

__all__ = ["AsyncConfig", "AsyncRpcV2JsonProtocol", "Config", "RpcV2JsonProtocol"]

_EXPORTS = {
"RpcV2JsonProtocol": ".client",
"Config": ".config",
"AsyncRpcV2JsonProtocol": ".aio.client",
"AsyncConfig": ".aio.config",
}


def __getattr__(name: str) -> Any:
if name in _EXPORTS:
return getattr(import_module(_EXPORTS[name], __name__), name)
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
Loading
Loading