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

APIHook

class firebird.driver.hooks.APIHook(value)

Bases: enum.Enum

Firebird API hooks

LOADED = 1

ConnectionHook

class firebird.driver.hooks.ConnectionHook(value)

Bases: enum.Enum

Connection hooks

ATTACHED = 2
ATTACH_REQUEST = 1
CLOSED = 4
DETACH_REQUEST = 3
DROPPED = 5

ServerHook

class firebird.driver.hooks.ServerHook(value)

Bases: enum.Enum

Server hooks

ATTACHED = 1