Skip to content

Abstract http requests API definitions to avoid repetitive implementations #8

@johngian

Description

@johngian

Even though we dont have many functions to implement the client HTTP requests we could benefit of some abstraction to not re-implement the same stuff all the time eg:

  • build-url
  • validate input using pydantic
  • dump to json friendly python objects
  • send requests
  • validate responses using pydantic
  • serialize json to python objects

We could reduce footprint with some sort of router.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions