Providers
API documentation for the different providers.
- class notifiers.providers.email.SMTP[source]
Send emails via SMTP
- base_url = None
- name = 'email'
- schema_model
alias of
SMTPSchema
- site_url = 'https://en.wikipedia.org/wiki/Email'
- class notifiers.providers.email.SMTPSchema(**data: Any)[source]
-
- from_: Email
- host: Hostname
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- port: Port
- notifiers.providers.email.default_from() str[source]
The default FROM address,
notifiers@<this machine's fully qualified domain name>. Computed on first use since the hostname lookup can be slow.
- class notifiers.providers.gmail.Gmail[source]
Send email via Gmail
- base_url = 'smtp.gmail.com'
- name = 'gmail'
- schema_model
alias of
GmailSchema
- site_url = 'https://www.google.com/gmail/about/'
- class notifiers.providers.gmail.GmailSchema(*, message: str, subject: str = "New email from 'notifiers'!", to: ~typing.Annotated[~typing.Annotated[list[~typing.Annotated[str, ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._check_email)]], FieldInfo(annotation=NoneType, required=True, metadata=[MinLen(min_length=1)]), ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._unique), ~pydantic.types.Tag(tag=__many__)] | ~typing.Annotated[str, ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._check_email), ~pydantic.types.Tag(tag=__one__)], ~pydantic.types.Discriminator(discriminator=~notifiers.models.types._one_or_many, custom_error_type=None, custom_error_message=None, custom_error_context=None)], cc: ~typing.Annotated[~typing.Annotated[list[~typing.Annotated[str, ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._check_email)]], FieldInfo(annotation=NoneType, required=True, metadata=[MinLen(min_length=1)]), ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._unique), ~pydantic.types.Tag(tag=__many__)] | ~typing.Annotated[str, ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._check_email), ~pydantic.types.Tag(tag=__one__)], ~pydantic.types.Discriminator(discriminator=~notifiers.models.types._one_or_many, custom_error_type=None, custom_error_message=None, custom_error_context=None)] | None = None, bcc: ~typing.Annotated[~typing.Annotated[list[~typing.Annotated[str, ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._check_email)]], FieldInfo(annotation=NoneType, required=True, metadata=[MinLen(min_length=1)]), ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._unique), ~pydantic.types.Tag(tag=__many__)] | ~typing.Annotated[str, ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._check_email), ~pydantic.types.Tag(tag=__one__)], ~pydantic.types.Discriminator(discriminator=~notifiers.models.types._one_or_many, custom_error_type=None, custom_error_message=None, custom_error_context=None)] | None = None, from_: ~typing.Annotated[str, ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._check_email)] = <factory>, attachments: ~typing.Annotated[~typing.Annotated[list[~typing.Annotated[str, ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._check_valid_file)]], FieldInfo(annotation=NoneType, required=True, metadata=[MinLen(min_length=1)]), ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._unique), ~pydantic.types.Tag(tag=__many__)] | ~typing.Annotated[str, ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._check_valid_file), ~pydantic.types.Tag(tag=__one__)], ~pydantic.types.Discriminator(discriminator=~notifiers.models.types._one_or_many, custom_error_type=None, custom_error_message=None, custom_error_context=None)] | None = None, host: str = 'localhost', port: ~typing.Annotated[int, ~annotated_types.Ge(ge=0), ~annotated_types.Le(le=65535)] = 25, username: str | None = None, password: str | None = None, tls: bool = False, ssl: bool = False, html: bool = False, login: bool = True)[source]
- host: Hostname
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- port: Port
- class notifiers.providers.icloud.iCloud[source]
Send email via iCloud
- base_url = 'smtp.mail.me.com'
- name = 'icloud'
- schema_model
alias of
iCloudSchema
- site_url = 'https://www.icloud.com/mail'
- class notifiers.providers.icloud.iCloudSchema(*, message: str, subject: str = "New email from 'notifiers'!", to: ~typing.Annotated[~typing.Annotated[list[~typing.Annotated[str, ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._check_email)]], FieldInfo(annotation=NoneType, required=True, metadata=[MinLen(min_length=1)]), ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._unique), ~pydantic.types.Tag(tag=__many__)] | ~typing.Annotated[str, ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._check_email), ~pydantic.types.Tag(tag=__one__)], ~pydantic.types.Discriminator(discriminator=~notifiers.models.types._one_or_many, custom_error_type=None, custom_error_message=None, custom_error_context=None)], cc: ~typing.Annotated[~typing.Annotated[list[~typing.Annotated[str, ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._check_email)]], FieldInfo(annotation=NoneType, required=True, metadata=[MinLen(min_length=1)]), ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._unique), ~pydantic.types.Tag(tag=__many__)] | ~typing.Annotated[str, ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._check_email), ~pydantic.types.Tag(tag=__one__)], ~pydantic.types.Discriminator(discriminator=~notifiers.models.types._one_or_many, custom_error_type=None, custom_error_message=None, custom_error_context=None)] | None = None, bcc: ~typing.Annotated[~typing.Annotated[list[~typing.Annotated[str, ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._check_email)]], FieldInfo(annotation=NoneType, required=True, metadata=[MinLen(min_length=1)]), ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._unique), ~pydantic.types.Tag(tag=__many__)] | ~typing.Annotated[str, ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._check_email), ~pydantic.types.Tag(tag=__one__)], ~pydantic.types.Discriminator(discriminator=~notifiers.models.types._one_or_many, custom_error_type=None, custom_error_message=None, custom_error_context=None)] | None = None, from_: ~typing.Annotated[str, ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._check_email)] = <factory>, attachments: ~typing.Annotated[~typing.Annotated[list[~typing.Annotated[str, ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._check_valid_file)]], FieldInfo(annotation=NoneType, required=True, metadata=[MinLen(min_length=1)]), ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._unique), ~pydantic.types.Tag(tag=__many__)] | ~typing.Annotated[str, ~pydantic.functional_validators.AfterValidator(func=~notifiers.models.types._check_valid_file), ~pydantic.types.Tag(tag=__one__)], ~pydantic.types.Discriminator(discriminator=~notifiers.models.types._one_or_many, custom_error_type=None, custom_error_message=None, custom_error_context=None)] | None = None, host: str = 'localhost', port: ~typing.Annotated[int, ~annotated_types.Ge(ge=0), ~annotated_types.Le(le=65535)] = 25, username: str | None = None, password: str | None = None, tls: bool = False, ssl: bool = False, html: bool = False, login: bool = True)[source]
- host: Hostname
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- port: Port
- class notifiers.providers.join.Join[source]
Send Join notifications
- push_url = '/sendPush'
- schema_model
alias of
JoinSchema
- site_url = 'https://joaoapps.com/join/api/'
- class notifiers.providers.join.JoinDevices[source]
Return a list of Join devices IDs
- devices_url = '/listDevices'
- resource_name = 'devices'
- schema_model
alias of
JoinDevicesSchema
- class notifiers.providers.join.JoinDevicesSchema(**data: Any)[source]
-
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class notifiers.providers.join.JoinMixin[source]
Shared resources between
JoinandJoinDevices- base_url = 'https://joinjoaomgcd.appspot.com/_ah/api/messaging/v1'
- name = 'join'
- class notifiers.providers.join.JoinSchema(**data: Any)[source]
-
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class notifiers.providers.pushbullet.Pushbullet[source]
Send Pushbullet notifications
- base_url = 'https://api.pushbullet.com/v2/pushes'
- schema_model
alias of
PushbulletSchema
- site_url = 'https://www.pushbullet.com'
- class notifiers.providers.pushbullet.PushbulletDevices[source]
Return a list of Pushbullet devices associated to a token
- devices_url = 'https://api.pushbullet.com/v2/devices'
- resource_name = 'devices'
- schema_model
alias of
PushbulletDevicesSchema
- class notifiers.providers.pushbullet.PushbulletDevicesSchema(**data: Any)[source]
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class notifiers.providers.pushbullet.PushbulletMixin[source]
Shared attributes between
PushbulletDevicesandPushbullet- name = 'pushbullet'
- path_to_errors = ('error', 'message')
- class notifiers.providers.pushbullet.PushbulletSchema(**data: Any)[source]
-
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- type_: Literal['note', 'link']
- class notifiers.providers.pushover.Pushover[source]
Send Pushover notifications
- message_url = 'messages.json'
- name = 'pushover'
- schema_model
alias of
PushoverSchema
- site_url = 'https://pushover.net/'
- class notifiers.providers.pushover.PushoverLimits[source]
- limits_url = 'apps/limits.json'
- resource_name = 'limits'
- class notifiers.providers.pushover.PushoverMixin[source]
- base_url = 'https://api.pushover.net/1/'
- name = 'pushover'
- path_to_errors = ('errors',)
- class notifiers.providers.pushover.PushoverResourceMixin[source]
- schema_model
alias of
PushoverResourceSchema
- class notifiers.providers.pushover.PushoverResourceSchema(**data: Any)[source]
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'allow', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class notifiers.providers.pushover.PushoverSchema(**data: Any)[source]
-
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class notifiers.providers.pushover.PushoverSounds[source]
- resource_name = 'sounds'
- sounds_url = 'sounds.json'
- class notifiers.providers.simplepush.SimplePush[source]
Send SimplePush notifications
- base_url = 'https://api.simplepush.io/send'
- name = 'simplepush'
- schema_model
alias of
SimplePushSchema
- site_url = 'https://simplepush.io/'
- class notifiers.providers.simplepush.SimplePushSchema(**data: Any)[source]
-
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class notifiers.providers.slack.Slack[source]
Send Slack webhook notifications
- base_url = 'https://hooks.slack.com/services/'
- name = 'slack'
- schema_model
alias of
SlackSchema
- site_url = 'https://api.slack.com/incoming-webhooks'
- class notifiers.providers.slack.SlackAttachment(**data: Any)[source]
-
- fields: list[SlackAttachmentField] | None
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class notifiers.providers.slack.SlackAttachmentField(**data: Any)[source]
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class notifiers.providers.slack.SlackSchema(**data: Any)[source]
- attachments: list[SlackAttachment] | None
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- webhook_url: Url
- class notifiers.providers.telegram.Telegram[source]
Send Telegram notifications
- push_endpoint = '/sendMessage'
- schema_model
alias of
TelegramSchema
- site_url = 'https://core.telegram.org/'
- class notifiers.providers.telegram.TelegramMixin[source]
Shared resources between
TelegramUpdatesandTelegram- base_url = 'https://api.telegram.org/bot{token}'
- name = 'telegram'
- path_to_errors = ('description',)
- class notifiers.providers.telegram.TelegramSchema(**data: Any)[source]
-
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class notifiers.providers.telegram.TelegramUpdates[source]
Return Telegram bot updates, correlating to the getUpdates method. Returns chat IDs needed to notifications
- resource_name = 'updates'
- schema_model
alias of
TelegramUpdatesSchema
- updates_endpoint = '/getUpdates'
- class notifiers.providers.telegram.TelegramUpdatesSchema(**data: Any)[source]
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class notifiers.providers.zulip.Zulip[source]
Send Zulip notifications
- api_endpoint = '/api/v1/messages'
- base_url = 'https://{domain}.zulipchat.com'
- name = 'zulip'
- path_to_errors = ('msg',)
- schema_model
alias of
ZulipSchema
- site_url = 'https://zulipchat.com/api/'
- class notifiers.providers.zulip.ZulipSchema(**data: Any)[source]
-
- email: Email
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- type_: Literal['stream', 'private']
- class notifiers.providers.twilio.Twilio[source]
Send an SMS via a Twilio number
- base_url = 'https://api.twilio.com/2010-04-01/Accounts/{}/Messages.json'
- name = 'twilio'
- path_to_errors = ('message',)
- schema_model
alias of
TwilioSchema
- site_url = 'https://www.twilio.com/'
- class notifiers.providers.twilio.TwilioSchema(**data: Any)[source]
-
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'allow', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- to: E164
- class notifiers.providers.pagerduty.PagerDuty[source]
Send PagerDuty Events
- base_url = 'https://events.pagerduty.com/v2/enqueue'
- name = 'pagerduty'
- path_to_errors = ('errors',)
- schema_model
alias of
PagerDutySchema
- site_url = 'https://v2.developer.pagerduty.com/'
- class notifiers.providers.pagerduty.PagerDutyImage(**data: Any)[source]
-
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class notifiers.providers.pagerduty.PagerDutyLink(**data: Any)[source]
-
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class notifiers.providers.pagerduty.PagerDutySchema(**data: Any)[source]
-
- event_action: Literal['trigger', 'acknowledge', 'resolve']
- images: list[PagerDutyImage] | None
- links: list[PagerDutyLink] | None
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'allow', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- severity: Literal['critical', 'error', 'warning', 'info']
- class notifiers.providers.mailgun.MailGun[source]
Send emails via MailGun
- base_url = 'https://api.mailgun.net/v3/{domain}/messages'
- name = 'mailgun'
- path_to_errors = ('message',)
- schema_model
alias of
MailGunSchema
- site_url = 'https://documentation.mailgun.com/'
- class notifiers.providers.mailgun.MailGunSchema(**data: Any)[source]
-
- base_url: Literal['https://api.mailgun.net', 'https://api.eu.mailgun.net']
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class notifiers.providers.statuspage.Statuspage[source]
Create Statuspage incidents
- incidents_url = 'incidents.json'
- realtime_statuses = ['investigating', 'identified', 'monitoring', 'resolved']
- scheduled_statuses = ['scheduled', 'in_progress', 'verifying', 'completed']
- schema_model
alias of
StatuspageSchema
- class notifiers.providers.statuspage.StatuspageComponents[source]
Return a list of Statuspage components for the page ID
- components_url = 'components.json'
- resource_name = 'components'
- schema_model
alias of
StatuspageComponentsSchema
- class notifiers.providers.statuspage.StatuspageComponentsSchema(**data: Any)[source]
-
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class notifiers.providers.statuspage.StatuspageMixin[source]
Shared resources between
StatuspageandStatuspageComponents- base_url = 'https://api.statuspage.io/v1//pages/{page_id}/'
- name = 'statuspage'
- path_to_errors = ('error',)
- site_url = 'https://statuspage.io'
- class notifiers.providers.statuspage.StatuspageSchema(**data: Any)[source]
-
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class notifiers.providers.victorops.VictorOps[source]
Send VictorOps webhook notifications
- base_url = 'https://portal.victorops.com/ui/{ORGANIZATION_ID}/incidents'
- name = 'victorops'
- schema_model
alias of
VictorOpsSchema
- site_url = 'https://portal.victorops.com/dash/{ORGANIZATION_ID}#/advanced/rest'
- class notifiers.providers.victorops.VictorOpsSchema(**data: Any)[source]
-
- message_type: Literal['critical', 'warning', 'acknowledgement', 'info', 'recovery', 'ok']
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- rest_url: Url
- class notifiers.providers.dingtalk.DingTalk[source]
Send DingTalk notifications via Robot Webhook
- base_url = 'https://oapi.dingtalk.com/robot/send'
- name = 'dingtalk'
- path_to_errors = ('errmsg',)
- schema_model
alias of
DingTalkSchema
- site_url = 'https://open.dingtalk.com/document/'
- class notifiers.providers.dingtalk.DingTalkActionCard(**data: Any)[source]
- btn_orientation: Literal['0', '1']
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- single_url: Url
- class notifiers.providers.dingtalk.DingTalkAt(**data: Any)[source]
-
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class notifiers.providers.dingtalk.DingTalkLink(**data: Any)[source]
- message_url: Url
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- pic_url: Url
- class notifiers.providers.dingtalk.DingTalkMarkdown(**data: Any)[source]
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class notifiers.providers.dingtalk.DingTalkMessage(**data: Any)[source]
- action_card: DingTalkActionCard | None
- link: DingTalkLink | None
- markdown: DingTalkMarkdown | None
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- msg_type: Literal['text', 'markdown', 'link', 'actionCard']
- text: DingTalkText | None
- class notifiers.providers.dingtalk.DingTalkSchema(**data: Any)[source]
-
- at: DingTalkAt | None
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- msg_data: DingTalkMessage | None
- class notifiers.providers.dingtalk.DingTalkText(**data: Any)[source]
-
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class notifiers.providers.notify.Notify[source]
Send Notify notifications
- name = 'notify'
- schema_model
alias of
NotifySchema
- site_url = 'https://github.com/K0IN/Notify'
- class notifiers.providers.notify.NotifyMixin[source]
- base_url = '{base_url}/api/notify'
- name = 'notify'
- path_to_errors = ('message',)
- site_url = 'https://github.com/K0IN/Notify'
- class notifiers.providers.notify.NotifySchema(**data: Any)[source]
-
- model_config: ClassVar[ConfigDict] = {'defer_build': True, 'extra': 'forbid', 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].