nautobot_ssot_ipfabric.signals

Signal handlers for nautobot_ssot_ipfabric.

Module Contents

Functions

create_custom_field(field_name, label, models, apps[, ...])

Create custom field on a given model instance type.

nautobot_database_ready_callback(sender, *, apps, **kwargs)

Callback function triggered by the nautobot_database_ready signal when the Nautobot database is fully ready.

nautobot_ssot_ipfabric.signals.create_custom_field(field_name: str, label: str, models: List, apps, cf_type: Optional[str] = 'type_date')

Create custom field on a given model instance type.

Args:

field_name (str): Field Name label (str): Label description models (List): List of Django Models apps: Django Apps cf_type: (str, optional): Type of Field. Supports ‘type_text’ or ‘type_date’. Defaults to ‘type_date’.

nautobot_ssot_ipfabric.signals.nautobot_database_ready_callback(sender, *, apps, **kwargs)

Callback function triggered by the nautobot_database_ready signal when the Nautobot database is fully ready.