commands.check_non_onboarded_devicesΒΆ

Management command to check for not onboarded devices.

ClassesΒΆ

Command

Management command to check for devices not onboarded.

Module ContentsΒΆ

class commands.check_non_onboarded_devices.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]ΒΆ

Bases: django.core.management.base.BaseCommand

Management command to check for devices not onboarded.

This command identifies devices that have not been onboarded (status: NO_ONBOARDING) and generates informational notifications for each device. If a notification for a specific device already exists, it will be skipped.

help = 'Check for devices not onboarded.'[source]ΒΆ
handle(*args, **kwargs)[source]ΒΆ

Entrypoint for the command.

Parameters:
  • *args (Any) – Additional positional arguments.

  • **kwargs (dict[str, Any]) – Additional keyword arguments.

Return type:

None

_check_non_onboarded_devices()[source]ΒΆ

Task to create an info notification if a device is not onboarded.

Return type:

None