resolve#

abstractmethod Catalog.resolve(table: str, *, reader: ReaderFormat, mode: CatalogAccessMode = CatalogAccessMode.READ) → ResolvedSource[source]#

Resolve table for the given reader and access mode.

Parameters:
  • table (str) – The name of the table to resolve.

  • reader (ReaderFormat) – The reader that asks for the table. It determines which fields of the result are set.

  • mode (CatalogAccessMode) – Whether to vend read or write credentials.

Returns:

The location and credentials that reader needs to access table.

Return type:

ResolvedSource