Skip to content

Commit

Permalink
resolve mypy error Name __path__ already defined
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Jan 11, 2022
1 parent d15fd20 commit 800b2e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions google/__init__.py
Expand Up @@ -5,6 +5,4 @@

pkg_resources.declare_namespace(__name__)
except ImportError:
import pkgutil

__path__: List[str] = pkgutil.extend_path(__path__, __name__)
pass
4 changes: 1 addition & 3 deletions google/cloud/__init__.py
Expand Up @@ -5,6 +5,4 @@

pkg_resources.declare_namespace(__name__)
except ImportError:
import pkgutil

__path__: List[str] = pkgutil.extend_path(__path__, __name__)
pass

0 comments on commit 800b2e4

Please sign in to comment.