Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Commit c51d61b

Browse files
committed
refactor: reorder and comment on _init__ statements for clarity
1 parent 6493e33 commit c51d61b

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

google/api_core/__init__.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,13 @@
2727
# google.api_core, the functionality below must be made available
2828
# manually in those artifacts.
2929

30+
# expose dependency checks for external callers
3031
check_python_version = _python_version_support.check_python_version
31-
check_python_version(package="google.api_core")
32-
3332
check_dependency_versions = _python_package_support.check_dependency_versions
34-
check_dependency_versions("google.api_core")
35-
3633
warn_deprecation_for_versions_less_than = (
3734
_python_package_support.warn_deprecation_for_versions_less_than
3835
)
36+
37+
# perform version checks against api_core, and emit warnings if needed
38+
check_python_version(package="google.api_core")
39+
check_dependency_versions("google.api_core")

0 commit comments

Comments
 (0)