Runtime provider¶
The public protocol describes the metadata a runtime provider supplies to the driver.
Applications can use the firebird.runtime.providers entry-point group to discover and
instantiate a provider, then pass it to load_api(). The driver does not choose an entry point.
firebird.driver.provider.FirebirdProvider
¶
Bases: Protocol
Description of a Firebird-compatible runtime supplied to the driver.
Used by:
- Reference firebird.driver.fbapi
Source code in firebird/driver/provider.py
capabilities: frozenset[str]
property
¶
Features supplied by this runtime.
client_library: Path
property
¶
Client library to load.
firebird_log: Path | None
property
¶
Path to a directly accessible Firebird log, if available.
firebird_version: str
property
¶
Version of the supplied client library.
name: str
property
¶
Runtime implementation identifier.
package_version: str
property
¶
Version of the distribution supplying this runtime.
root: Path
property
¶
Runtime root directory.