Skip to content

Drop Origin from public API. #656

@lovelydinosaur

Description

@lovelydinosaur

We don't really need to expose Origin publically. For the sake of keeping the public API space slim we should...

  • Drop the url.origin property.
  • Drop Origin from the top-level export.
  • Move Origin into utils.py.
  • Use origin = Origin(url) in our internal usage, rather than url.origin.

Minor breaking change here, although I'm not sure we document origin anywhere or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api changePRs that contain breaking public API changesgood first issueGood for newcomersrefactorIssues and PRs related to code refactoring

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions