Skip to content

Commit

Permalink
Since these don't start with uderscore, have an __all__
Browse files Browse the repository at this point in the history
  • Loading branch information
William Strecker-Kellogg committed Oct 29, 2020
1 parent b674183 commit 72669e8
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions python/lsst/daf/butler/core/uri/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
import copy
import logging

__all__ = ('ButlerFileURI',)

from typing import (
TYPE_CHECKING,
cast,
Expand Down
3 changes: 2 additions & 1 deletion python/lsst/daf/butler/core/uri/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import tempfile
import logging

__all__ = ("ButlerHttpURI", )
__all__ = ('ButlerHttpURI', )


from requests.adapters import HTTPAdapter
Expand All @@ -49,6 +49,7 @@

log = logging.getLogger(__name__)


def getHttpSession() -> requests.Session:
"""Create a requests.Session pre-configured with environment variable data
Expand Down
2 changes: 2 additions & 0 deletions python/lsst/daf/butler/core/uri/mem.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

from typing import Tuple

__all__ = ('ButlerInMemoryURI',)

from ._butlerUri import ButlerURI


Expand Down
2 changes: 2 additions & 0 deletions python/lsst/daf/butler/core/uri/packageresource.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
import pkg_resources
import logging

__all__ = ('ButlerPackageResourceURI',)

from ._butlerUri import ButlerURI

log = logging.getLogger(__name__)
Expand Down
1 change: 1 addition & 0 deletions python/lsst/daf/butler/core/uri/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import logging
import tempfile

__all__ = ('ButlerS3URI',)

from typing import (
TYPE_CHECKING,
Expand Down
2 changes: 2 additions & 0 deletions python/lsst/daf/butler/core/uri/schemeless.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
import os.path
import logging

__all__ = ('ButlerSchemelessURI',)

from pathlib import PurePath

from typing import (
Expand Down
1 change: 1 addition & 0 deletions python/lsst/daf/butler/core/uri/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

from pathlib import Path, PurePath, PurePosixPath

__all__ = ('os2posix', 'posix2os', 'NoTransaction')

from typing import (
Any,
Expand Down

0 comments on commit 72669e8

Please sign in to comment.