Skip to content

Commit

Permalink
Remove public export of names from 'utils'
Browse files Browse the repository at this point in the history
'now_isoformat' and 'principal_urn_regex' are unnecessary bits of
public API surface. They are hereby removed from the top-level package
`__init__.py`.
  • Loading branch information
sirosen committed Dec 5, 2024
1 parent 5c4b588 commit d1835d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions changelog.d/20241205_115915_sirosen_remove_utils_names.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Breaking changes
----------------

* The ``now_isoformat`` and ``principal_urn_regex`` names are no longer
publicly exported by the library.
3 changes: 0 additions & 3 deletions src/globus_action_provider_tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
ActionStatus,
ActionStatusValue,
)
from globus_action_provider_tools.utils import now_isoformat, principal_urn_regex

__all__ = [
"AuthState",
Expand All @@ -16,6 +15,4 @@
"ActionRequest",
"ActionStatus",
"ActionStatusValue",
"principal_urn_regex",
"now_isoformat",
]

0 comments on commit d1835d7

Please sign in to comment.