Skip to content

make helpers nonpublic #503

@jkowalleck

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions