Skip to content

make helpers nonpublic #503

Closed

Description

@jkowalleck

some internal/helper classes are made public for no reason ... lets make them internal/nonpublic API.

  • models.ComparableTuple
  • model.sha1sum
  • model.get_now_utc
  • model.dependency.DependencyDependencies
  • ...

iplementation:

  • moved these classes to an own package/module, that starts with an underscore(_).
  • have a pydoc in the package/module that describes the taht these are internal and what this means.
  • import these private symbols by aliassing with underscore(from ._foo import bar as _bar)

Activity

  1. added this to the 6.0.0 milestone on Dec 4, 2023
  2. added a commit that references this issue on Dec 5, 2023
  3. linked a pull request that will close this issuefeat!: v6.0.0 #492on Dec 5, 2023
  4. linked a pull request that will close this issueBC: Helpes internal #506on Dec 5, 2023
  5. added a commit that references this issue on Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions