Skip to content

Conversation

@haydenbaker
Copy link
Contributor

@haydenbaker haydenbaker commented Mar 11, 2025

Very WIP, putting up just for visibillity

Several TODOs, organization still TBD

Example operation type:

@dataclass(kw_only=True, frozen=True)
class GetCity(APIOperation["GetCityInput", "GetCityOutput"]):
    input = GetCityInput
    output = GetCityOutput
    schema = _SCHEMA_GET_CITY
    input_schema = _SCHEMA_GET_CITY_INPUT
    output_schema = _SCHEMA_GET_CITY_OUTPUT
    error_registry = TypeRegistry(
        {
            ShapeID("example.weather#NoSuchResource"): NoSuchResource,
        }
    )
    effective_auth_schemes = [ShapeID("smithy.api#noAuth")]

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@JordonPhillips JordonPhillips force-pushed the client-protocol-interface branch from db1d84a to 86080d2 Compare March 11, 2025 14:42
@JordonPhillips JordonPhillips force-pushed the client-protocol-interface branch from 86080d2 to ab2c62e Compare March 11, 2025 15:25
@haydenbaker haydenbaker force-pushed the haydenbaker/restjson-protocol branch from f2b4fb4 to 4802838 Compare March 11, 2025 15:40
Base automatically changed from client-protocol-interface to develop March 11, 2025 15:40
@haydenbaker haydenbaker force-pushed the haydenbaker/restjson-protocol branch 2 times, most recently from 67ebdc4 to 70d2257 Compare March 13, 2025 04:39
@haydenbaker haydenbaker changed the title checkpoint Add operation shape generation, type registry Mar 13, 2025
@haydenbaker haydenbaker changed the title Add operation shape generation, type registry Add protocol implementations, operation shape generation, type registry Mar 13, 2025
@haydenbaker haydenbaker force-pushed the haydenbaker/restjson-protocol branch from 70d2257 to 9c5053c Compare March 13, 2025 05:01
@haydenbaker haydenbaker force-pushed the haydenbaker/restjson-protocol branch from 9c5053c to 0d8e80f Compare March 14, 2025 04:27
@haydenbaker haydenbaker changed the base branch from develop to pure-python-request-pipeline March 14, 2025 04:28
This was referenced Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants