Skip to content

Make requests an optional dependency #1

Description

@EnriqueSoria

Why feature request?

We don't want to force users of python-api-consumers to stick to requests library. But we want to include a ready to use implementation because requests is the defacto library for consuming HTTP endpoints.

What is needed to do?

  • Mark requests as an optional dependency (extras)
  • Maybe raise a custom exception if someone tries to import something from src/api_consumer/requests.py and doesn't have requests installed.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions