firebird.driver.hooks

This module contains firebird-driver hooks. Uses hook mechanism from firebird-base package.

Imports from firebird.base.hooks: register_class, get_callbacks, add_hook and hook_manager.

Enums

class firebird.driver.hooks.APIHook(value)[source]

Bases: Enum

Firebird API hooks.

LOADED = 1
class firebird.driver.hooks.ConnectionHook(value)[source]

Bases: Enum

Connection hooks.

ATTACHED = 2
ATTACH_REQUEST = 1
CLOSED = 4
DETACH_REQUEST = 3
DROPPED = 5
class firebird.driver.hooks.ServerHook(value)[source]

Bases: Enum

Server hooks.

ATTACHED = 1