Implements an butler framework interface for Transport, Storage, and Registry
.. warning::
Access is 'wet paint' and very likely to change. Use of it in production
code other than via the 'old butler' API is strongly discouraged.
Definition at line 39 of file access.py.
def lsst.daf.persistence.access.Access.exists |
( |
|
self, |
|
|
|
location |
|
) |
| |
Query if a location exists.
As of this writing the only storage type is PosixStorage, and it works to say that 'location' is a
simple locaiton descriptor. In the case of PosixStorage that's a path. If this needs to become more
complex it could be changed to be a butlerLocation, or something else, as needed.
:param location: a simple location descriptor, type is dependent on Storage.
:return: True if location exists, else False.
Definition at line 128 of file access.py.