Skip to content

Python (FastAPI) Examples #7

Description

@so-rose

Hey,

I was wondering if you might be interested in accepting a PR adding Python / FastAPI code examples? Or, alternatively, would you be interested in a new client library encapsulating that kind of thing?

Specifically:

  • Snippet route that correctly validates pings, by implementing the pseudocode in the docs.
  • Snippet route that correctly returns a payment link, using validated payment item logic.
  • Pydantic schemas corresponding to (and validating) each sequence response type.
  • Dependency injections for relevant validations.
  • Implementation notes accessible to new devs.

For our part, more eyes on such critical code paths would be welcome, and maybe it could be a good launchpad for others who like to work in Python.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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