Skip to content

Hera Events Auto-generated Models

hera.events.models

AMQPConsumeConfig

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class AMQPConsumeConfig(BaseModel):
    auto_ack: Annotated[
        Optional[bool],
        Field(
            alias="autoAck",
            title=(
                "AutoAck when true, the server will acknowledge deliveries to this"
                " consumer prior to writing\nthe delivery to the network\n+optional"
            ),
        ),
    ] = None
    consumer_tag: Annotated[
        Optional[str],
        Field(
            alias="consumerTag",
            title=("ConsumerTag is the identity of the consumer included in every" " delivery\n+optional"),
        ),
    ] = None
    exclusive: Annotated[
        Optional[bool],
        Field(
            title=(
                "Exclusive when true, the server will ensure that this is the sole"
                " consumer from this queue\n+optional"
            )
        ),
    ] = None
    no_local: Annotated[
        Optional[bool],
        Field(
            alias="noLocal",
            title="NoLocal flag is not supported by RabbitMQ\n+optional",
        ),
    ] = None
    no_wait: Annotated[
        Optional[bool],
        Field(
            alias="noWait",
            title=(
                "NowWait when true, do not wait for the server to confirm the request"
                " and immediately begin deliveries\n+optional"
            ),
        ),
    ] = None

auto_ack class-attribute instance-attribute

auto_ack = None

consumer_tag class-attribute instance-attribute

consumer_tag = None

exclusive class-attribute instance-attribute

exclusive = None

no_local class-attribute instance-attribute

no_local = None

no_wait class-attribute instance-attribute

no_wait = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

AMQPEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class AMQPEventSource(BaseModel):
    auth: Annotated[
        Optional[BasicAuth],
        Field(title="Auth hosts secret selectors for username and password\n+optional"),
    ] = None
    connection_backoff: Annotated[
        Optional[Backoff],
        Field(
            alias="connectionBackoff",
            title="Backoff holds parameters applied to connection.\n+optional",
        ),
    ] = None
    consume: Annotated[
        Optional[AMQPConsumeConfig],
        Field(
            title=(
                "Consume holds the configuration to immediately starts delivering"
                " queued messages\nFor more information, visit"
                " https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.Consume\n+optional"
            )
        ),
    ] = None
    exchange_declare: Annotated[
        Optional[AMQPExchangeDeclareConfig],
        Field(
            alias="exchangeDeclare",
            title=(
                "ExchangeDeclare holds the configuration for the exchange on the"
                " server\nFor more information, visit"
                " https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.ExchangeDeclare\n+optional"
            ),
        ),
    ] = None
    exchange_name: Annotated[
        Optional[str],
        Field(
            alias="exchangeName",
            title=(
                "ExchangeName is the exchange name\nFor more information, visit"
                " https://www.rabbitmq.com/tutorials/amqp-concepts.html"
            ),
        ),
    ] = None
    exchange_type: Annotated[
        Optional[str],
        Field(alias="exchangeType", title="ExchangeType is rabbitmq exchange type"),
    ] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    json_body: Annotated[
        Optional[bool],
        Field(
            alias="jsonBody",
            title=(
                "JSONBody specifies that all event body payload coming from" " this\nsource will be JSON\n+optional"
            ),
        ),
    ] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    queue_bind: Annotated[
        Optional[AMQPQueueBindConfig],
        Field(
            alias="queueBind",
            title=(
                "QueueBind holds the configuration that binds an exchange to a queue so"
                " that publishings to the\nexchange will be routed to the queue when"
                " the publishing routing key matches the binding routing key\nFor more"
                " information, visit"
                " https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.QueueBind\n+optional"
            ),
        ),
    ] = None
    queue_declare: Annotated[
        Optional[AMQPQueueDeclareConfig],
        Field(
            alias="queueDeclare",
            title=(
                "QueueDeclare holds the configuration of a queue to hold messages and"
                " deliver to consumers.\nDeclaring creates a queue if it doesn't"
                " already exist, or ensures that an existing queue matches\nthe same"
                " parameters\nFor more information, visit"
                " https://pkg.go.dev/github.com/rabbitmq/amqp091-go#Channel.QueueDeclare\n+optional"
            ),
        ),
    ] = None
    routing_key: Annotated[Optional[str], Field(alias="routingKey", title="Routing key for bindings")] = None
    tls: Annotated[
        Optional[TLSConfig],
        Field(title="TLS configuration for the amqp client.\n+optional"),
    ] = None
    url: Annotated[Optional[str], Field(title="URL for rabbitmq service")] = None
    url_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="urlSecret",
            title="URLSecret is secret reference for rabbitmq service URL",
        ),
    ] = None

auth class-attribute instance-attribute

auth = None

connection_backoff class-attribute instance-attribute

connection_backoff = None

consume class-attribute instance-attribute

consume = None

exchange_declare class-attribute instance-attribute

exchange_declare = None

exchange_name class-attribute instance-attribute

exchange_name = None

exchange_type class-attribute instance-attribute

exchange_type = None

filter class-attribute instance-attribute

filter = None

json_body class-attribute instance-attribute

json_body = None

metadata class-attribute instance-attribute

metadata = None

queue_bind class-attribute instance-attribute

queue_bind = None

queue_declare class-attribute instance-attribute

queue_declare = None

routing_key class-attribute instance-attribute

routing_key = None

tls class-attribute instance-attribute

tls = None

url class-attribute instance-attribute

url = None

url_secret class-attribute instance-attribute

url_secret = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

AMQPExchangeDeclareConfig

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class AMQPExchangeDeclareConfig(BaseModel):
    auto_delete: Annotated[
        Optional[bool],
        Field(
            alias="autoDelete",
            title=("AutoDelete removes the exchange when no bindings are active\n+optional"),
        ),
    ] = None
    durable: Annotated[
        Optional[bool],
        Field(title="Durable keeps the exchange also after the server restarts\n+optional"),
    ] = None
    internal: Annotated[
        Optional[bool],
        Field(title="Internal when true does not accept publishings\n+optional"),
    ] = None
    no_wait: Annotated[
        Optional[bool],
        Field(
            alias="noWait",
            title=("NowWait when true does not wait for a confirmation from the" " server\n+optional"),
        ),
    ] = None

auto_delete class-attribute instance-attribute

auto_delete = None

durable class-attribute instance-attribute

durable = None

internal class-attribute instance-attribute

internal = None

no_wait class-attribute instance-attribute

no_wait = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

AMQPQueueBindConfig

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class AMQPQueueBindConfig(BaseModel):
    no_wait: Annotated[
        Optional[bool],
        Field(
            alias="noWait",
            title=(
                "NowWait false and the queue could not be bound, the channel will be"
                " closed with an error\n+optional"
            ),
        ),
    ] = None

no_wait class-attribute instance-attribute

no_wait = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

AMQPQueueDeclareConfig

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class AMQPQueueDeclareConfig(BaseModel):
    arguments: Annotated[
        Optional[str],
        Field(
            title=(
                'Arguments of a queue (also known as "x-arguments") used for optional'
                " features and plugins\n+optional"
            )
        ),
    ] = None
    auto_delete: Annotated[
        Optional[bool],
        Field(
            alias="autoDelete",
            title=("AutoDelete removes the queue when no consumers are active\n+optional"),
        ),
    ] = None
    durable: Annotated[
        Optional[bool],
        Field(title="Durable keeps the queue also after the server restarts\n+optional"),
    ] = None
    exclusive: Annotated[
        Optional[bool],
        Field(
            title=(
                "Exclusive sets the queues to be accessible only by the connection that"
                " declares them and will be\ndeleted wgen the connection"
                " closes\n+optional"
            )
        ),
    ] = None
    name: Annotated[
        Optional[str],
        Field(
            title=("Name of the queue. If empty the server auto-generates a unique name" " for this queue\n+optional")
        ),
    ] = None
    no_wait: Annotated[
        Optional[bool],
        Field(
            alias="noWait",
            title=("NowWait when true, the queue assumes to be declared on the" " server\n+optional"),
        ),
    ] = None

arguments class-attribute instance-attribute

arguments = None

auto_delete class-attribute instance-attribute

auto_delete = None

durable class-attribute instance-attribute

durable = None

exclusive class-attribute instance-attribute

exclusive = None

name class-attribute instance-attribute

name = None

no_wait class-attribute instance-attribute

no_wait = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

AWSLambdaTrigger

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class AWSLambdaTrigger(BaseModel):
    access_key: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="accessKey",
            title="AccessKey refers K8s secret containing aws access key\n+optional",
        ),
    ] = None
    function_name: Annotated[
        Optional[str],
        Field(
            alias="functionName",
            description="FunctionName refers to the name of the function to invoke.",
        ),
    ] = None
    invocation_type: Annotated[
        Optional[str],
        Field(
            alias="invocationType",
            description=(
                "Choose from the following options.\n\n   * RequestResponse (default) -"
                " Invoke the function synchronously. Keep\n   the connection open until"
                " the function returns a response or times out.\n   The API response"
                " includes the function response and additional data.\n\n   * Event -"
                " Invoke the function asynchronously. Send events that fail multiple\n "
                "  times to the function's dead-letter queue (if it's configured). The"
                " API\n   response only includes a status code.\n\n   * DryRun -"
                " Validate parameter values and verify that the user or role\n   has"
                " permission to invoke the function.\n+optional"
            ),
        ),
    ] = None
    parameters: Annotated[
        Optional[List[TriggerParameter]],
        Field(
            title=(
                "Parameters is the list of key-value extracted from event's payload"
                " that are applied to\nthe trigger resource.\n+optional"
            )
        ),
    ] = None
    payload: Annotated[
        Optional[List[TriggerParameter]],
        Field(
            description=(
                "Payload is the list of key-value extracted from an event payload to" " construct the request payload."
            )
        ),
    ] = None
    region: Annotated[Optional[str], Field(title="Region is AWS region")] = None
    role_arn: Annotated[
        Optional[str],
        Field(
            alias="roleARN",
            title=("RoleARN is the Amazon Resource Name (ARN) of the role to" " assume.\n+optional"),
        ),
    ] = None
    secret_key: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="secretKey",
            title="SecretKey refers K8s secret containing aws secret key\n+optional",
        ),
    ] = None

access_key class-attribute instance-attribute

access_key = None

function_name class-attribute instance-attribute

function_name = None

invocation_type class-attribute instance-attribute

invocation_type = None

parameters class-attribute instance-attribute

parameters = None

payload class-attribute instance-attribute

payload = None

region class-attribute instance-attribute

region = None

role_arn class-attribute instance-attribute

role_arn = None

secret_key class-attribute instance-attribute

secret_key = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

Amount

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class Amount(BaseModel):
    value: Optional[str] = None

value class-attribute instance-attribute

value = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

ArgoWorkflowTrigger

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class ArgoWorkflowTrigger(BaseModel):
    args: Annotated[
        Optional[List[str]],
        Field(title="Args is the list of arguments to pass to the argo CLI"),
    ] = None
    operation: Annotated[
        Optional[str],
        Field(
            title=(
                "Operation refers to the type of operation performed on the argo"
                " workflow resource.\nDefault value is Submit.\n+optional"
            )
        ),
    ] = None
    parameters: Annotated[
        Optional[List[TriggerParameter]],
        Field(title=("Parameters is the list of parameters to pass to resolved Argo Workflow" " object")),
    ] = None
    source: Annotated[Optional[ArtifactLocation], Field(title="Source of the K8s resource file(s)")] = None

args class-attribute instance-attribute

args = None

operation class-attribute instance-attribute

operation = None

parameters class-attribute instance-attribute

parameters = None

source class-attribute instance-attribute

source = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

ArtifactLocation

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class ArtifactLocation(BaseModel):
    configmap: Annotated[
        Optional[v1_1.ConfigMapKeySelector],
        Field(title="Configmap that stores the artifact"),
    ] = None
    file: Annotated[
        Optional[FileArtifact],
        Field(title="File artifact is artifact stored in a file"),
    ] = None
    git: Annotated[Optional[GitArtifact], Field(title="Git repository hosting the artifact")] = None
    inline: Annotated[
        Optional[str],
        Field(title="Inline artifact is embedded in sensor spec as a string"),
    ] = None
    resource: Annotated[Optional[Resource], Field(title="Resource is generic template for K8s resource")] = None
    s3: Annotated[Optional[S3Artifact], Field(title="S3 compliant artifact")] = None
    url: Annotated[Optional[URLArtifact], Field(title="URL to fetch the artifact from")] = None

configmap class-attribute instance-attribute

configmap = None

file class-attribute instance-attribute

file = None

git class-attribute instance-attribute

git = None

inline class-attribute instance-attribute

inline = None

resource class-attribute instance-attribute

resource = None

s3 class-attribute instance-attribute

s3 = None

url class-attribute instance-attribute

url = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

AzureEventHubsTrigger

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class AzureEventHubsTrigger(BaseModel):
    fqdn: Annotated[
        Optional[str],
        Field(
            title=(
                "FQDN refers to the namespace dns of Azure Event Hubs to be used i.e."
                " <namespace>.servicebus.windows.net"
            )
        ),
    ] = None
    hub_name: Annotated[
        Optional[str],
        Field(
            alias="hubName",
            title="HubName refers to the Azure Event Hub to send events to",
        ),
    ] = None
    parameters: Annotated[
        Optional[List[TriggerParameter]],
        Field(
            title=(
                "Parameters is the list of key-value extracted from event's payload"
                " that are applied to\nthe trigger resource.\n+optional"
            )
        ),
    ] = None
    payload: Annotated[
        Optional[List[TriggerParameter]],
        Field(
            description=(
                "Payload is the list of key-value extracted from an event payload to" " construct the request payload."
            )
        ),
    ] = None
    shared_access_key: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="sharedAccessKey",
            title=("SharedAccessKey refers to a K8s secret containing the primary key" " for the"),
        ),
    ] = None
    shared_access_key_name: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="sharedAccessKeyName",
            title="SharedAccessKeyName refers to the name of the Shared Access Key",
        ),
    ] = None

fqdn class-attribute instance-attribute

fqdn = None

hub_name class-attribute instance-attribute

hub_name = None

parameters class-attribute instance-attribute

parameters = None

payload class-attribute instance-attribute

payload = None

shared_access_key class-attribute instance-attribute

shared_access_key = None

shared_access_key_name class-attribute instance-attribute

shared_access_key_name = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

AzureEventsHubEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class AzureEventsHubEventSource(BaseModel):
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    fqdn: Annotated[
        Optional[str],
        Field(
            title=(
                "FQDN of the EventHubs namespace you created\nMore info at"
                " https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-get-connection-string"
            )
        ),
    ] = None
    hub_name: Annotated[Optional[str], Field(alias="hubName", title="Event Hub path/name")] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    shared_access_key: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="sharedAccessKey",
            title="SharedAccessKey is the generated value of the key",
        ),
    ] = None
    shared_access_key_name: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="sharedAccessKeyName",
            title=("SharedAccessKeyName is the name you chose for your application's SAS" " keys"),
        ),
    ] = None

filter class-attribute instance-attribute

filter = None

fqdn class-attribute instance-attribute

fqdn = None

hub_name class-attribute instance-attribute

hub_name = None

metadata class-attribute instance-attribute

metadata = None

shared_access_key class-attribute instance-attribute

shared_access_key = None

shared_access_key_name class-attribute instance-attribute

shared_access_key_name = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

Backoff

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class Backoff(BaseModel):
    duration: Annotated[
        Optional[Int64OrString],
        Field(title=('The initial duration in nanoseconds or strings like "1s",' ' "3m"\n+optional')),
    ] = None
    factor: Annotated[
        Optional[Amount],
        Field(title="Duration is multiplied by factor each iteration\n+optional"),
    ] = None
    jitter: Annotated[
        Optional[Amount],
        Field(title="The amount of jitter applied each iteration\n+optional"),
    ] = None
    steps: Annotated[Optional[int], Field(title="Exit with error after this many steps\n+optional")] = None

duration class-attribute instance-attribute

duration = None

factor class-attribute instance-attribute

factor = None

jitter class-attribute instance-attribute

jitter = None

steps class-attribute instance-attribute

steps = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

BasicAuth

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class BasicAuth(BaseModel):
    password: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            description=(
                "Password refers to the Kubernetes secret that holds the password" " required for basic auth."
            )
        ),
    ] = None
    username: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            description=(
                "Username refers to the Kubernetes secret that holds the username" " required for basic auth."
            )
        ),
    ] = None

password class-attribute instance-attribute

password = None

username class-attribute instance-attribute

username = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

BitbucketAuth

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class BitbucketAuth(BaseModel):
    basic: Annotated[
        Optional[BitbucketBasicAuth],
        Field(title="Basic is BasicAuth auth strategy.\n+optional"),
    ] = None
    oauth_token: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="oauthToken",
            title=("OAuthToken refers to the K8s secret that holds the OAuth Bearer" " token.\n+optional"),
        ),
    ] = None

basic class-attribute instance-attribute

basic = None

oauth_token class-attribute instance-attribute

oauth_token = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

BitbucketBasicAuth

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class BitbucketBasicAuth(BaseModel):
    password: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(description="Password refers to the K8s secret that holds the password."),
    ] = None
    username: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(description="Username refers to the K8s secret that holds the username."),
    ] = None

password class-attribute instance-attribute

password = None

username class-attribute instance-attribute

username = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

BitbucketEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class BitbucketEventSource(BaseModel):
    auth: Annotated[
        Optional[BitbucketAuth],
        Field(description="Auth information required to connect to Bitbucket."),
    ] = None
    delete_hook_on_finish: Annotated[
        Optional[bool],
        Field(
            alias="deleteHookOnFinish",
            title=(
                "DeleteHookOnFinish determines whether to delete the defined Bitbucket"
                " hook once the event source is stopped.\n+optional"
            ),
        ),
    ] = None
    events: Annotated[Optional[List[str]], Field(description="Events this webhook is subscribed to.")] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=(
                "Metadata holds the user defined metadata which will be passed along" " the event payload.\n+optional"
            )
        ),
    ] = None
    owner: Annotated[
        Optional[str],
        Field(
            title=(
                "DeprecatedOwner is the owner of the repository.\nDeprecated: use"
                " Repositories instead. Will be unsupported in v1.9\n+optional"
            )
        ),
    ] = None
    project_key: Annotated[
        Optional[str],
        Field(
            alias="projectKey",
            title=(
                "DeprecatedProjectKey is the key of the project to which the repository"
                " relates\nDeprecated: use Repositories instead. Will be unsupported in"
                " v1.9\n+optional"
            ),
        ),
    ] = None
    repositories: Annotated[
        Optional[List[BitbucketRepository]],
        Field(title=("Repositories holds a list of repositories for which integration needs" " to set up\n+optional")),
    ] = None
    repository_slug: Annotated[
        Optional[str],
        Field(
            alias="repositorySlug",
            title=(
                "DeprecatedRepositorySlug is a URL-friendly version of a repository"
                " name, automatically generated by Bitbucket for use in the"
                " URL\nDeprecated: use Repositories instead. Will be unsupported in"
                " v1.9\n+optional"
            ),
        ),
    ] = None
    webhook: Annotated[
        Optional[WebhookContext],
        Field(title="Webhook refers to the configuration required to run an http server"),
    ] = None

auth class-attribute instance-attribute

auth = None

delete_hook_on_finish class-attribute instance-attribute

delete_hook_on_finish = None

events class-attribute instance-attribute

events = None

filter class-attribute instance-attribute

filter = None

metadata class-attribute instance-attribute

metadata = None

owner class-attribute instance-attribute

owner = None

project_key class-attribute instance-attribute

project_key = None

repositories class-attribute instance-attribute

repositories = None

repository_slug class-attribute instance-attribute

repository_slug = None

webhook class-attribute instance-attribute

webhook = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

BitbucketRepository

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class BitbucketRepository(BaseModel):
    owner: Annotated[Optional[str], Field(title="Owner is the owner of the repository")] = None
    repository_slug: Annotated[
        Optional[str],
        Field(
            alias="repositorySlug",
            title=(
                "RepositorySlug is a URL-friendly version of a repository name,"
                " automatically generated by Bitbucket for use in the URL"
            ),
        ),
    ] = None

owner class-attribute instance-attribute

owner = None

repository_slug class-attribute instance-attribute

repository_slug = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

BitbucketServerEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class BitbucketServerEventSource(BaseModel):
    access_token: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="accessToken",
            title=("AccessToken is reference to K8s secret which holds the bitbucket api" " access information"),
        ),
    ] = None
    bitbucketserver_base_url: Annotated[
        Optional[str],
        Field(
            alias="bitbucketserverBaseURL",
            title=("BitbucketServerBaseURL is the base URL for API requests to a custom" " endpoint"),
        ),
    ] = None
    delete_hook_on_finish: Annotated[
        Optional[bool],
        Field(
            alias="deleteHookOnFinish",
            title=(
                "DeleteHookOnFinish determines whether to delete the Bitbucket Server"
                " hook for the project once the event source is stopped.\n+optional"
            ),
        ),
    ] = None
    events: Annotated[
        Optional[List[str]],
        Field(
            title=(
                "Events are bitbucket event to listen to.\nRefer"
                " https://confluence.atlassian.com/bitbucketserver/event-payload-938025882.html"
            )
        ),
    ] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    project_key: Annotated[
        Optional[str],
        Field(
            alias="projectKey",
            title=(
                "DeprecatedProjectKey is the key of project for which integration needs"
                " to set up\nDeprecated: use Repositories instead. Will be unsupported"
                " in v1.8\n+optional"
            ),
        ),
    ] = None
    repositories: Annotated[
        Optional[List[BitbucketServerRepository]],
        Field(title=("Repositories holds a list of repositories for which integration needs" " to set up\n+optional")),
    ] = None
    repository_slug: Annotated[
        Optional[str],
        Field(
            alias="repositorySlug",
            title=(
                "DeprecatedRepositorySlug is the slug of the repository for which"
                " integration needs to set up\nDeprecated: use Repositories instead."
                " Will be unsupported in v1.8\n+optional"
            ),
        ),
    ] = None
    webhook: Annotated[
        Optional[WebhookContext],
        Field(title="Webhook holds configuration to run a http server"),
    ] = None
    webhook_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="webhookSecret",
            title=(
                "WebhookSecret is reference to K8s secret which holds the bitbucket"
                " webhook secret (for HMAC validation)"
            ),
        ),
    ] = None

access_token class-attribute instance-attribute

access_token = None

bitbucketserver_base_url class-attribute instance-attribute

bitbucketserver_base_url = None

delete_hook_on_finish class-attribute instance-attribute

delete_hook_on_finish = None

events class-attribute instance-attribute

events = None

filter class-attribute instance-attribute

filter = None

metadata class-attribute instance-attribute

metadata = None

project_key class-attribute instance-attribute

project_key = None

repositories class-attribute instance-attribute

repositories = None

repository_slug class-attribute instance-attribute

repository_slug = None

webhook class-attribute instance-attribute

webhook = None

webhook_secret class-attribute instance-attribute

webhook_secret = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

BitbucketServerRepository

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class BitbucketServerRepository(BaseModel):
    project_key: Annotated[
        Optional[str],
        Field(
            alias="projectKey",
            title=("ProjectKey is the key of project for which integration needs to set up"),
        ),
    ] = None
    repository_slug: Annotated[
        Optional[str],
        Field(
            alias="repositorySlug",
            title=("RepositorySlug is the slug of the repository for which integration" " needs to set up"),
        ),
    ] = None

project_key class-attribute instance-attribute

project_key = None

repository_slug class-attribute instance-attribute

repository_slug = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

CalendarEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class CalendarEventSource(BaseModel):
    exclusion_dates: Annotated[
        Optional[List[str]],
        Field(
            alias="exclusionDates",
            description=("ExclusionDates defines the list of DATE-TIME exceptions for recurring" " events."),
        ),
    ] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    interval: Annotated[
        Optional[str],
        Field(title=("Interval is a string that describes an interval duration, e.g. 1s," " 30m, 2h...\n+optional")),
    ] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    persistence: Annotated[
        Optional[EventPersistence],
        Field(title="Persistence hold the configuration for event persistence"),
    ] = None
    schedule: Annotated[
        Optional[str],
        Field(
            title=(
                "Schedule is a cron-like expression. For reference, see:"
                " https://en.wikipedia.org/wiki/Cron\n+optional"
            )
        ),
    ] = None
    timezone: Annotated[Optional[str], Field(title="Timezone in which to run the schedule\n+optional")] = None

exclusion_dates class-attribute instance-attribute

exclusion_dates = None

filter class-attribute instance-attribute

filter = None

interval class-attribute instance-attribute

interval = None

metadata class-attribute instance-attribute

metadata = None

persistence class-attribute instance-attribute

persistence = None

schedule class-attribute instance-attribute

schedule = None

timezone class-attribute instance-attribute

timezone = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

CatchupConfiguration

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class CatchupConfiguration(BaseModel):
    enabled: Annotated[
        Optional[bool],
        Field(title=("Enabled enables to triggered the missed schedule when eventsource" " restarts")),
    ] = None
    max_duration: Annotated[
        Optional[str],
        Field(alias="maxDuration", title="MaxDuration holds max catchup duration"),
    ] = None

enabled class-attribute instance-attribute

enabled = None

max_duration class-attribute instance-attribute

max_duration = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

Condition

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class Condition(BaseModel):
    last_transition_time: Annotated[
        Optional[v1.Time],
        Field(
            alias="lastTransitionTime",
            title=("Last time the condition transitioned from one status to" " another.\n+optional"),
        ),
    ] = None
    message: Annotated[
        Optional[str],
        Field(title=("Human-readable message indicating details about last" " transition.\n+optional")),
    ] = None
    reason: Annotated[
        Optional[str],
        Field(
            title=(
                "Unique, this should be a short, machine understandable string that"
                " gives the reason\nfor condition's last transition. For example,"
                ' "ImageNotFound"\n+optional'
            )
        ),
    ] = None
    status: Annotated[
        Optional[str],
        Field(title="Condition status, True, False or Unknown.\n+required"),
    ] = None
    type: Annotated[Optional[str], Field(title="Condition type.\n+required")] = None

last_transition_time class-attribute instance-attribute

last_transition_time = None

message class-attribute instance-attribute

message = None

reason class-attribute instance-attribute

reason = None

status class-attribute instance-attribute

status = None

type class-attribute instance-attribute

type = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

ConditionsResetByTime

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class ConditionsResetByTime(BaseModel):
    cron: Annotated[
        Optional[str],
        Field(title=("Cron is a cron-like expression. For reference, see:" " https://en.wikipedia.org/wiki/Cron")),
    ] = None
    timezone: Annotated[Optional[str], Field(title="+optional")] = None

cron class-attribute instance-attribute

cron = None

timezone class-attribute instance-attribute

timezone = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

ConditionsResetCriteria

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class ConditionsResetCriteria(BaseModel):
    by_time: Annotated[
        Optional[ConditionsResetByTime],
        Field(
            alias="byTime",
            title=("Schedule is a cron-like expression. For reference, see:" " https://en.wikipedia.org/wiki/Cron"),
        ),
    ] = None

by_time class-attribute instance-attribute

by_time = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

ConfigMapPersistence

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class ConfigMapPersistence(BaseModel):
    create_if_not_exist: Annotated[
        Optional[bool],
        Field(
            alias="createIfNotExist",
            title="CreateIfNotExist will create configmap if it doesn't exists",
        ),
    ] = None
    name: Annotated[Optional[str], Field(title="Name of the configmap")] = None

create_if_not_exist class-attribute instance-attribute

create_if_not_exist = None

name class-attribute instance-attribute

name = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

CustomTrigger

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class CustomTrigger(BaseModel):
    cert_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="certSecret",
            description=(
                "CertSecret refers to the secret that contains cert for secure"
                " connection between sensor and custom trigger gRPC server."
            ),
        ),
    ] = None
    parameters: Annotated[
        Optional[List[TriggerParameter]],
        Field(
            description=(
                "Parameters is the list of parameters that is applied to resolved" " custom trigger trigger object."
            )
        ),
    ] = None
    payload: Annotated[
        Optional[List[TriggerParameter]],
        Field(
            description=(
                "Payload is the list of key-value extracted from an event payload to" " construct the request payload."
            )
        ),
    ] = None
    secure: Annotated[
        Optional[bool],
        Field(title=("Secure refers to type of the connection between sensor to custom" " trigger gRPC")),
    ] = None
    server_name_override: Annotated[
        Optional[str],
        Field(
            alias="serverNameOverride",
            description=(
                "ServerNameOverride for the secure connection between sensor and custom" " trigger gRPC server."
            ),
        ),
    ] = None
    server_url: Annotated[
        Optional[str],
        Field(
            alias="serverURL",
            title=("ServerURL is the url of the gRPC server that executes custom trigger"),
        ),
    ] = None
    spec: Annotated[
        Optional[Dict[str, str]],
        Field(
            description=(
                "Spec is the custom trigger resource specification that custom trigger"
                " gRPC server knows how to interpret."
            )
        ),
    ] = None

cert_secret class-attribute instance-attribute

cert_secret = None

parameters class-attribute instance-attribute

parameters = None

payload class-attribute instance-attribute

payload = None

secure class-attribute instance-attribute

secure = None

server_name_override class-attribute instance-attribute

server_name_override = None

server_url class-attribute instance-attribute

server_url = None

spec class-attribute instance-attribute

spec = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

DataFilter

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class DataFilter(BaseModel):
    comparator: Annotated[
        Optional[str],
        Field(
            description=(
                "Comparator compares the event data with a user given value.\nCan be"
                ' ">=", ">", "=", "!=", "<", or "<=".\nIs optional, and if left blank'
                ' treated as equality "=".'
            )
        ),
    ] = None
    path: Annotated[
        Optional[str],
        Field(
            description=(
                "Path is the JSONPath of the event's (JSON decoded) data key\nPath is a"
                " series of keys separated by a dot. A key may contain wildcard"
                " characters '*' and '?'.\nTo access an array value use the index as"
                " the key. The dot and wildcard characters can be escaped with"
                " '\\\\'.\nSee https://github.com/tidwall/gjson#path-syntax for more"
                " information on how to use this."
            )
        ),
    ] = None
    template: Annotated[
        Optional[str],
        Field(
            title=(
                "Template is a go-template for extracting a string from the event's"
                " data.\nA Template is evaluated with provided path, type and"
                " value.\nThe templating follows the standard go-template syntax as"
                " well as sprig's extra functions.\nSee"
                " https://pkg.go.dev/text/template and"
                " https://masterminds.github.io/sprig/"
            )
        ),
    ] = None
    type: Annotated[Optional[str], Field(title="Type contains the JSON type of the data")] = None
    value: Annotated[
        Optional[List[str]],
        Field(
            title=(
                "Value is the allowed string values for this key\nBooleans are passed"
                " using strconv.ParseBool()\nNumbers are parsed using as float64 using"
                " strconv.ParseFloat()\nStrings are taken as is\nNils this value is"
                " ignored"
            )
        ),
    ] = None

comparator class-attribute instance-attribute

comparator = None

path class-attribute instance-attribute

path = None

template class-attribute instance-attribute

template = None

type class-attribute instance-attribute

type = None

value class-attribute instance-attribute

value = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

EmitterEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class EmitterEventSource(BaseModel):
    broker: Annotated[Optional[str], Field(description="Broker URI to connect to.")] = None
    channel_key: Annotated[
        Optional[str],
        Field(alias="channelKey", title="ChannelKey refers to the channel key"),
    ] = None
    channel_name: Annotated[
        Optional[str],
        Field(alias="channelName", title="ChannelName refers to the channel name"),
    ] = None
    connection_backoff: Annotated[
        Optional[Backoff],
        Field(
            alias="connectionBackoff",
            title="Backoff holds parameters applied to connection.\n+optional",
        ),
    ] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    json_body: Annotated[
        Optional[bool],
        Field(
            alias="jsonBody",
            title=(
                "JSONBody specifies that all event body payload coming from" " this\nsource will be JSON\n+optional"
            ),
        ),
    ] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    password: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(title="Password to use to connect to broker\n+optional"),
    ] = None
    tls: Annotated[
        Optional[TLSConfig],
        Field(title="TLS configuration for the emitter client.\n+optional"),
    ] = None
    username: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(title="Username to use to connect to broker\n+optional"),
    ] = None

broker class-attribute instance-attribute

broker = None

channel_key class-attribute instance-attribute

channel_key = None

channel_name class-attribute instance-attribute

channel_name = None

connection_backoff class-attribute instance-attribute

connection_backoff = None

filter class-attribute instance-attribute

filter = None

json_body class-attribute instance-attribute

json_body = None

metadata class-attribute instance-attribute

metadata = None

password class-attribute instance-attribute

password = None

tls class-attribute instance-attribute

tls = None

username class-attribute instance-attribute

username = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

EventContext

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class EventContext(BaseModel):
    datacontenttype: Annotated[
        Optional[str],
        Field(description=("DataContentType - A MIME (RFC2046) string describing the media type of" " `data`.")),
    ] = None
    id: Annotated[
        Optional[str],
        Field(description=("ID of the event; must be non-empty and unique within the scope of the" " producer.")),
    ] = None
    source: Annotated[
        Optional[str],
        Field(description="Source - A URI describing the event producer."),
    ] = None
    specversion: Annotated[
        Optional[str],
        Field(
            description=(
                "SpecVersion - The version of the CloudEvents specification used by the"
                " io.argoproj.workflow.v1alpha1."
            )
        ),
    ] = None
    subject: Annotated[
        Optional[str],
        Field(title=("Subject - The subject of the event in the context of the event" " producer")),
    ] = None
    time: Annotated[
        Optional[v1.Time],
        Field(description="Time - A Timestamp when the event happened."),
    ] = None
    type: Annotated[
        Optional[str],
        Field(description="Type - The type of the occurrence which has happened."),
    ] = None

datacontenttype class-attribute instance-attribute

datacontenttype = None

id class-attribute instance-attribute

id = None

source class-attribute instance-attribute

source = None

specversion class-attribute instance-attribute

specversion = None

subject class-attribute instance-attribute

subject = None

time class-attribute instance-attribute

time = None

type class-attribute instance-attribute

type = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

EventDependency

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class EventDependency(BaseModel):
    event_name: Annotated[
        Optional[str],
        Field(alias="eventName", title="EventName is the name of the event"),
    ] = None
    event_source_name: Annotated[
        Optional[str],
        Field(
            alias="eventSourceName",
            title="EventSourceName is the name of EventSource that Sensor depends on",
        ),
    ] = None
    filters: Annotated[
        Optional[EventDependencyFilter],
        Field(
            title=(
                "Filters and rules governing toleration of success and constraints on"
                " the context and data of an event"
            )
        ),
    ] = None
    filters_logical_operator: Annotated[
        Optional[str],
        Field(
            alias="filtersLogicalOperator",
            description=(
                "FiltersLogicalOperator defines how different filters are evaluated"
                " together.\nAvailable values: and (&&), or (||)\nIs optional and if"
                " left blank treated as and (&&)."
            ),
        ),
    ] = None
    name: Annotated[Optional[str], Field(title="Name is a unique name of this dependency")] = None
    transform: Annotated[
        Optional[EventDependencyTransformer],
        Field(title="Transform transforms the event data"),
    ] = None

event_name class-attribute instance-attribute

event_name = None

event_source_name class-attribute instance-attribute

event_source_name = None

filters class-attribute instance-attribute

filters = None

filters_logical_operator class-attribute instance-attribute

filters_logical_operator = None

name class-attribute instance-attribute

name = None

transform class-attribute instance-attribute

transform = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

EventDependencyFilter

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class EventDependencyFilter(BaseModel):
    context: Annotated[Optional[EventContext], Field(title="Context filter constraints")] = None
    data: Annotated[
        Optional[List[DataFilter]],
        Field(title="Data filter constraints with escalation"),
    ] = None
    data_logical_operator: Annotated[
        Optional[str],
        Field(
            alias="dataLogicalOperator",
            description=(
                "DataLogicalOperator defines how multiple Data filters (if defined) are"
                " evaluated together.\nAvailable values: and (&&), or (||)\nIs optional"
                " and if left blank treated as and (&&)."
            ),
        ),
    ] = None
    expr_logical_operator: Annotated[
        Optional[str],
        Field(
            alias="exprLogicalOperator",
            description=(
                "ExprLogicalOperator defines how multiple Exprs filters (if defined)"
                " are evaluated together.\nAvailable values: and (&&), or (||)\nIs"
                " optional and if left blank treated as and (&&)."
            ),
        ),
    ] = None
    exprs: Annotated[
        Optional[List[ExprFilter]],
        Field(description=("Exprs contains the list of expressions evaluated against the event" " payload.")),
    ] = None
    script: Annotated[
        Optional[str],
        Field(
            description=(
                "Script refers to a Lua script evaluated to determine the validity of"
                " an io.argoproj.workflow.v1alpha1."
            )
        ),
    ] = None
    time: Annotated[Optional[TimeFilter], Field(title="Time filter on the event with escalation")] = None

context class-attribute instance-attribute

context = None

data class-attribute instance-attribute

data = None

data_logical_operator class-attribute instance-attribute

data_logical_operator = None

expr_logical_operator class-attribute instance-attribute

expr_logical_operator = None

exprs class-attribute instance-attribute

exprs = None

script class-attribute instance-attribute

script = None

time class-attribute instance-attribute

time = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

EventDependencyTransformer

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class EventDependencyTransformer(BaseModel):
    jq: Annotated[
        Optional[str],
        Field(title="JQ holds the jq command applied for transformation\n+optional"),
    ] = None
    script: Annotated[
        Optional[str],
        Field(title="Script refers to a Lua script used to transform the event\n+optional"),
    ] = None

jq class-attribute instance-attribute

jq = None

script class-attribute instance-attribute

script = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

EventPersistence

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class EventPersistence(BaseModel):
    catchup: Annotated[
        Optional[CatchupConfiguration],
        Field(title=("Catchup enables to triggered the missed schedule when eventsource" " restarts")),
    ] = None
    config_map: Annotated[
        Optional[ConfigMapPersistence],
        Field(alias="configMap", title="ConfigMap holds configmap details for persistence"),
    ] = None

catchup class-attribute instance-attribute

catchup = None

config_map class-attribute instance-attribute

config_map = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

EventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class EventSource(BaseModel):
    metadata: Optional[v1.ObjectMeta] = None
    spec: Optional[EventSourceSpec] = None
    status: Annotated[Optional[EventSourceStatus], Field(title="+optional")] = None

metadata class-attribute instance-attribute

metadata = None

spec class-attribute instance-attribute

spec = None

status class-attribute instance-attribute

status = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

EventSourceFilter

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class EventSourceFilter(BaseModel):
    expression: Optional[str] = None

expression class-attribute instance-attribute

expression = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

EventSourceList

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class EventSourceList(BaseModel):
    items: Optional[List[EventSource]] = None
    metadata: Optional[v1.ListMeta] = None

items class-attribute instance-attribute

items = None

metadata class-attribute instance-attribute

metadata = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

EventSourceSpec

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class EventSourceSpec(BaseModel):
    amqp: Annotated[Optional[Dict[str, AMQPEventSource]], Field(title="AMQP event sources")] = None
    azure_events_hub: Annotated[
        Optional[Dict[str, AzureEventsHubEventSource]],
        Field(alias="azureEventsHub", title="AzureEventsHub event sources"),
    ] = None
    bitbucket: Annotated[
        Optional[Dict[str, BitbucketEventSource]],
        Field(title="Bitbucket event sources"),
    ] = None
    bitbucketserver: Annotated[
        Optional[Dict[str, BitbucketServerEventSource]],
        Field(title="Bitbucket Server event sources"),
    ] = None
    calendar: Annotated[Optional[Dict[str, CalendarEventSource]], Field(title="Calendar event sources")] = None
    emitter: Annotated[Optional[Dict[str, EmitterEventSource]], Field(title="Emitter event source")] = None
    event_bus_name: Annotated[
        Optional[str],
        Field(
            alias="eventBusName",
            title=("EventBusName references to a EventBus name. By default the value is" ' "default"'),
        ),
    ] = None
    file: Annotated[Optional[Dict[str, FileEventSource]], Field(title="File event sources")] = None
    generic: Annotated[Optional[Dict[str, GenericEventSource]], Field(title="Generic event source")] = None
    github: Annotated[Optional[Dict[str, GithubEventSource]], Field(title="Github event sources")] = None
    gitlab: Annotated[Optional[Dict[str, GitlabEventSource]], Field(title="Gitlab event sources")] = None
    hdfs: Annotated[Optional[Dict[str, HDFSEventSource]], Field(title="HDFS event sources")] = None
    kafka: Annotated[Optional[Dict[str, KafkaEventSource]], Field(title="Kafka event sources")] = None
    minio: Annotated[Optional[Dict[str, S3Artifact]], Field(title="Minio event sources")] = None
    mqtt: Annotated[Optional[Dict[str, MQTTEventSource]], Field(title="MQTT event sources")] = None
    nats: Annotated[Optional[Dict[str, NATSEventsSource]], Field(title="NATS event sources")] = None
    nsq: Annotated[Optional[Dict[str, NSQEventSource]], Field(title="NSQ event source")] = None
    pub_sub: Annotated[
        Optional[Dict[str, PubSubEventSource]],
        Field(alias="pubSub", title="PubSub event sources"),
    ] = None
    pulsar: Annotated[Optional[Dict[str, PulsarEventSource]], Field(title="Pulsar event source")] = None
    redis: Annotated[Optional[Dict[str, RedisEventSource]], Field(title="Redis event source")] = None
    redis_stream: Annotated[
        Optional[Dict[str, RedisStreamEventSource]],
        Field(alias="redisStream", title="Redis stream source"),
    ] = None
    replicas: Annotated[Optional[int], Field(title="Replicas is the event source deployment replicas")] = None
    resource: Annotated[Optional[Dict[str, ResourceEventSource]], Field(title="Resource event sources")] = None
    service: Annotated[
        Optional[Service],
        Field(title=("Service is the specifications of the service to expose the event" " source\n+optional")),
    ] = None
    slack: Annotated[Optional[Dict[str, SlackEventSource]], Field(title="Slack event sources")] = None
    sns: Annotated[Optional[Dict[str, SNSEventSource]], Field(title="SNS event sources")] = None
    sqs: Annotated[Optional[Dict[str, SQSEventSource]], Field(title="SQS event sources")] = None
    storage_grid: Annotated[
        Optional[Dict[str, StorageGridEventSource]],
        Field(alias="storageGrid", title="StorageGrid event sources"),
    ] = None
    stripe: Annotated[Optional[Dict[str, StripeEventSource]], Field(title="Stripe event sources")] = None
    template: Annotated[
        Optional[Template],
        Field(title="Template is the pod specification for the event source\n+optional"),
    ] = None
    webhook: Annotated[Optional[Dict[str, WebhookEventSource]], Field(title="Webhook event sources")] = None

amqp class-attribute instance-attribute

amqp = None

azure_events_hub class-attribute instance-attribute

azure_events_hub = None

bitbucket class-attribute instance-attribute

bitbucket = None

bitbucketserver class-attribute instance-attribute

bitbucketserver = None

calendar class-attribute instance-attribute

calendar = None

emitter class-attribute instance-attribute

emitter = None

event_bus_name class-attribute instance-attribute

event_bus_name = None

file class-attribute instance-attribute

file = None

generic class-attribute instance-attribute

generic = None

github class-attribute instance-attribute

github = None

gitlab class-attribute instance-attribute

gitlab = None

hdfs class-attribute instance-attribute

hdfs = None

kafka class-attribute instance-attribute

kafka = None

minio class-attribute instance-attribute

minio = None

mqtt class-attribute instance-attribute

mqtt = None

nats class-attribute instance-attribute

nats = None

nsq class-attribute instance-attribute

nsq = None

pub_sub class-attribute instance-attribute

pub_sub = None

pulsar class-attribute instance-attribute

pulsar = None

redis class-attribute instance-attribute

redis = None

redis_stream class-attribute instance-attribute

redis_stream = None

replicas class-attribute instance-attribute

replicas = None

resource class-attribute instance-attribute

resource = None

service class-attribute instance-attribute

service = None

slack class-attribute instance-attribute

slack = None

sns class-attribute instance-attribute

sns = None

sqs class-attribute instance-attribute

sqs = None

storage_grid class-attribute instance-attribute

storage_grid = None

stripe class-attribute instance-attribute

stripe = None

template class-attribute instance-attribute

template = None

webhook class-attribute instance-attribute

webhook = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

EventSourceStatus

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class EventSourceStatus(BaseModel):
    status: Optional[Status] = None

status class-attribute instance-attribute

status = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

ExprFilter

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class ExprFilter(BaseModel):
    expr: Annotated[
        Optional[str],
        Field(description=("Expr refers to the expression that determines the outcome of the" " filter.")),
    ] = None
    fields: Annotated[
        Optional[List[PayloadField]],
        Field(description=("Fields refers to set of keys that refer to the paths within event" " payload.")),
    ] = None

expr class-attribute instance-attribute

expr = None

fields class-attribute instance-attribute

fields = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

FileArtifact

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class FileArtifact(BaseModel):
    path: Optional[str] = None

path class-attribute instance-attribute

path = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

FileEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class FileEventSource(BaseModel):
    event_type: Annotated[
        Optional[str],
        Field(
            alias="eventType",
            title=(
                "Type of file operations to watch\nRefer"
                " https://github.com/fsnotify/fsnotify/blob/master/fsnotify.go for more"
                " information"
            ),
        ),
    ] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    polling: Annotated[Optional[bool], Field(title="Use polling instead of inotify")] = None
    watch_path_config: Annotated[
        Optional[WatchPathConfig],
        Field(
            alias="watchPathConfig",
            title="WatchPathConfig contains configuration about the file path to watch",
        ),
    ] = None

event_type class-attribute instance-attribute

event_type = None

filter class-attribute instance-attribute

filter = None

metadata class-attribute instance-attribute

metadata = None

polling class-attribute instance-attribute

polling = None

watch_path_config class-attribute instance-attribute

watch_path_config = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

GenericEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class GenericEventSource(BaseModel):
    auth_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="authSecret",
            title=("AuthSecret holds a secret selector that contains a bearer token for" " authentication\n+optional"),
        ),
    ] = None
    config: Annotated[Optional[str], Field(title="Config is the event source configuration")] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    insecure: Annotated[Optional[bool], Field(description="Insecure determines the type of connection.")] = None
    json_body: Annotated[
        Optional[bool],
        Field(
            alias="jsonBody",
            title=(
                "JSONBody specifies that all event body payload coming from" " this\nsource will be JSON\n+optional"
            ),
        ),
    ] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    url: Annotated[
        Optional[str],
        Field(description="URL of the gRPC server that implements the event source."),
    ] = None

auth_secret class-attribute instance-attribute

auth_secret = None

config class-attribute instance-attribute

config = None

filter class-attribute instance-attribute

filter = None

insecure class-attribute instance-attribute

insecure = None

json_body class-attribute instance-attribute

json_body = None

metadata class-attribute instance-attribute

metadata = None

url class-attribute instance-attribute

url = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

GitArtifact

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class GitArtifact(BaseModel):
    branch: Annotated[Optional[str], Field(title="Branch to use to pull trigger resource\n+optional")] = None
    clone_directory: Annotated[
        Optional[str],
        Field(
            alias="cloneDirectory",
            description=(
                "Directory to clone the repository. We clone complete directory because"
                " GitArtifact is not limited to any specific Git service"
                " providers.\nHence we don't use any specific git provider client."
            ),
        ),
    ] = None
    creds: Annotated[
        Optional[GitCreds],
        Field(title="Creds contain reference to git username and password\n+optional"),
    ] = None
    file_path: Annotated[
        Optional[str],
        Field(
            alias="filePath",
            title="Path to file that contains trigger resource definition",
        ),
    ] = None
    insecure_ignore_host_key: Annotated[
        Optional[bool],
        Field(alias="insecureIgnoreHostKey", title="Whether to ignore host key\n+optional"),
    ] = None
    ref: Annotated[
        Optional[str],
        Field(title=("Ref to use to pull trigger resource. Will result in a shallow clone" " and\nfetch.\n+optional")),
    ] = None
    remote: Annotated[
        Optional[GitRemoteConfig],
        Field(
            title=(
                "Remote to manage set of tracked repositories. Defaults to"
                ' "origin".\nRefer https://git-scm.com/docs/git-remote\n+optional'
            )
        ),
    ] = None
    ssh_key_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="sshKeySecret",
            title="SSHKeySecret refers to the secret that contains SSH key",
        ),
    ] = None
    tag: Annotated[Optional[str], Field(title="Tag to use to pull trigger resource\n+optional")] = None
    url: Annotated[Optional[str], Field(title="Git URL")] = None

branch class-attribute instance-attribute

branch = None

clone_directory class-attribute instance-attribute

clone_directory = None

creds class-attribute instance-attribute

creds = None

file_path class-attribute instance-attribute

file_path = None

insecure_ignore_host_key class-attribute instance-attribute

insecure_ignore_host_key = None

ref class-attribute instance-attribute

ref = None

remote class-attribute instance-attribute

remote = None

ssh_key_secret class-attribute instance-attribute

ssh_key_secret = None

tag class-attribute instance-attribute

tag = None

url class-attribute instance-attribute

url = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

GitCreds

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class GitCreds(BaseModel):
    password: Optional[v1_1.SecretKeySelector] = None
    username: Optional[v1_1.SecretKeySelector] = None

password class-attribute instance-attribute

password = None

username class-attribute instance-attribute

username = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

GitRemoteConfig

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class GitRemoteConfig(BaseModel):
    name: Annotated[Optional[str], Field(description="Name of the remote to fetch from.")] = None
    urls: Annotated[
        Optional[List[str]],
        Field(
            description=(
                "URLs the URLs of a remote repository. It must be non-empty. Fetch"
                " will\nalways use the first URL, while push will use all of them."
            )
        ),
    ] = None

name class-attribute instance-attribute

name = None

urls class-attribute instance-attribute

urls = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

GithubAppCreds

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class GithubAppCreds(BaseModel):
    app_id: Annotated[
        Optional[str],
        Field(
            alias="appID",
            title="AppID refers to the GitHub App ID for the application you created",
        ),
    ] = None
    installation_id: Annotated[
        Optional[str],
        Field(
            alias="installationID",
            title=("InstallationID refers to the Installation ID of the GitHub app you" " created and installed"),
        ),
    ] = None
    private_key: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="privateKey",
            title=("PrivateKey refers to a K8s secret containing the GitHub app" " private key"),
        ),
    ] = None

app_id class-attribute instance-attribute

app_id = None

installation_id class-attribute instance-attribute

installation_id = None

private_key class-attribute instance-attribute

private_key = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

GithubEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class GithubEventSource(BaseModel):
    active: Annotated[
        Optional[bool],
        Field(
            title=(
                "Active refers to status of the webhook for event"
                " deliveries.\nhttps://developer.github.com/webhooks/creating/#active\n+optional"
            )
        ),
    ] = None
    api_token: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="apiToken",
            title=("APIToken refers to a K8s secret containing github api token\n+optional"),
        ),
    ] = None
    content_type: Annotated[
        Optional[str],
        Field(alias="contentType", title="ContentType of the event delivery"),
    ] = None
    delete_hook_on_finish: Annotated[
        Optional[bool],
        Field(
            alias="deleteHookOnFinish",
            title=(
                "DeleteHookOnFinish determines whether to delete the GitHub hook for"
                " the repository once the event source is stopped.\n+optional"
            ),
        ),
    ] = None
    events: Annotated[
        Optional[List[str]],
        Field(title=("Events refer to Github events to which the event source will subscribe")),
    ] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    github_app: Annotated[
        Optional[GithubAppCreds],
        Field(
            alias="githubApp",
            title="GitHubApp holds the GitHub app credentials\n+optional",
        ),
    ] = None
    github_base_url: Annotated[
        Optional[str],
        Field(
            alias="githubBaseURL",
            title="GitHub base URL (for GitHub Enterprise)\n+optional",
        ),
    ] = None
    github_upload_url: Annotated[
        Optional[str],
        Field(
            alias="githubUploadURL",
            title="GitHub upload URL (for GitHub Enterprise)\n+optional",
        ),
    ] = None
    id: Annotated[
        Optional[str],
        Field(
            title=(
                "Id is the webhook's id\nDeprecated: This is not used at all, will be" " removed in v1.6\n+optional"
            )
        ),
    ] = None
    insecure: Annotated[Optional[bool], Field(title="Insecure tls verification")] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    organizations: Annotated[
        Optional[List[str]],
        Field(
            description=(
                "Organizations holds the names of organizations (used for organization"
                " level webhooks). Not required if Repositories is set."
            )
        ),
    ] = None
    owner: Annotated[
        Optional[str],
        Field(
            title=(
                "DeprecatedOwner refers to GitHub owner name i.e. argoproj\nDeprecated:"
                " use Repositories instead. Will be unsupported in v 1.6\n+optional"
            )
        ),
    ] = None
    repositories: Annotated[
        Optional[List[OwnedRepositories]],
        Field(
            description=(
                "Repositories holds the information of repositories, which uses repo"
                " owner as the key,\nand list of repo names as the value. Not required"
                " if Organizations is set."
            )
        ),
    ] = None
    repository: Annotated[
        Optional[str],
        Field(
            title=(
                "DeprecatedRepository refers to GitHub repo name i.e."
                " argo-events\nDeprecated: use Repositories instead. Will be"
                " unsupported in v 1.6\n+optional"
            )
        ),
    ] = None
    webhook: Annotated[
        Optional[WebhookContext],
        Field(title="Webhook refers to the configuration required to run a http server"),
    ] = None
    webhook_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="webhookSecret",
            title=(
                "WebhookSecret refers to K8s secret containing GitHub webhook"
                " secret\nhttps://developer.github.com/webhooks/securing/\n+optional"
            ),
        ),
    ] = None

active class-attribute instance-attribute

active = None

api_token class-attribute instance-attribute

api_token = None

content_type class-attribute instance-attribute

content_type = None

delete_hook_on_finish class-attribute instance-attribute

delete_hook_on_finish = None

events class-attribute instance-attribute

events = None

filter class-attribute instance-attribute

filter = None

github_app class-attribute instance-attribute

github_app = None

github_base_url class-attribute instance-attribute

github_base_url = None

github_upload_url class-attribute instance-attribute

github_upload_url = None

id class-attribute instance-attribute

id = None

insecure class-attribute instance-attribute

insecure = None

metadata class-attribute instance-attribute

metadata = None

organizations class-attribute instance-attribute

organizations = None

owner class-attribute instance-attribute

owner = None

repositories class-attribute instance-attribute

repositories = None

repository class-attribute instance-attribute

repository = None

webhook class-attribute instance-attribute

webhook = None

webhook_secret class-attribute instance-attribute

webhook_secret = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

GitlabEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class GitlabEventSource(BaseModel):
    access_token: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="accessToken",
            title=("AccessToken references to k8 secret which holds the gitlab api access" " information"),
        ),
    ] = None
    delete_hook_on_finish: Annotated[
        Optional[bool],
        Field(
            alias="deleteHookOnFinish",
            title=(
                "DeleteHookOnFinish determines whether to delete the GitLab hook for"
                " the project once the event source is stopped.\n+optional"
            ),
        ),
    ] = None
    enable_ssl_verification: Annotated[
        Optional[bool],
        Field(
            alias="enableSSLVerification",
            title="EnableSSLVerification to enable ssl verification\n+optional",
        ),
    ] = None
    events: Annotated[
        Optional[List[str]],
        Field(
            description=(
                "Events are gitlab event to listen to.\nRefer"
                " https://github.com/xanzy/go-gitlab/blob/bf34eca5d13a9f4c3f501d8a97b8ac226d55e4d9/projects.go#L794."
            )
        ),
    ] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    gitlab_base_url: Annotated[
        Optional[str],
        Field(
            alias="gitlabBaseURL",
            title="GitlabBaseURL is the base URL for API requests to a custom endpoint",
        ),
    ] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    project_id: Annotated[
        Optional[str],
        Field(
            alias="projectID",
            title=(
                "DeprecatedProjectID is the id of project for which integration needs"
                " to setup\nDeprecated: use Projects instead. Will be unsupported in v"
                " 1.7\n+optional"
            ),
        ),
    ] = None
    projects: Annotated[
        Optional[List[str]],
        Field(title='List of project IDs or project namespace paths like "whynowy/test"'),
    ] = None
    secret_token: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="secretToken",
            title=("SecretToken references to k8 secret which holds the Secret Token used" " by webhook config"),
        ),
    ] = None
    webhook: Annotated[
        Optional[WebhookContext],
        Field(title="Webhook holds configuration to run a http server"),
    ] = None

access_token class-attribute instance-attribute

access_token = None

delete_hook_on_finish class-attribute instance-attribute

delete_hook_on_finish = None

enable_ssl_verification class-attribute instance-attribute

enable_ssl_verification = None

events class-attribute instance-attribute

events = None

filter class-attribute instance-attribute

filter = None

gitlab_base_url class-attribute instance-attribute

gitlab_base_url = None

metadata class-attribute instance-attribute

metadata = None

project_id class-attribute instance-attribute

project_id = None

projects class-attribute instance-attribute

projects = None

secret_token class-attribute instance-attribute

secret_token = None

webhook class-attribute instance-attribute

webhook = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

HDFSEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class HDFSEventSource(BaseModel):
    addresses: Optional[List[str]] = None
    check_interval: Annotated[
        Optional[str],
        Field(
            alias="checkInterval",
            title=(
                "CheckInterval is a string that describes an interval duration to check"
                " the directory state, e.g. 1s, 30m, 2h... (defaults to 1m)"
            ),
        ),
    ] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    hdfs_user: Annotated[
        Optional[str],
        Field(
            alias="hdfsUser",
            description=(
                "HDFSUser is the user to access HDFS file system.\nIt is ignored if"
                " either ccache or keytab is used."
            ),
        ),
    ] = None
    krb_c_cache_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="krbCCacheSecret",
            description=(
                "KrbCCacheSecret is the secret selector for Kerberos ccache\nEither"
                " ccache or keytab can be set to use Kerberos."
            ),
        ),
    ] = None
    krb_config_config_map: Annotated[
        Optional[v1_1.ConfigMapKeySelector],
        Field(
            alias="krbConfigConfigMap",
            description=(
                "KrbConfig is the configmap selector for Kerberos config as string\nIt"
                " must be set if either ccache or keytab is used."
            ),
        ),
    ] = None
    krb_keytab_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="krbKeytabSecret",
            description=(
                "KrbKeytabSecret is the secret selector for Kerberos keytab\nEither"
                " ccache or keytab can be set to use Kerberos."
            ),
        ),
    ] = None
    krb_realm: Annotated[
        Optional[str],
        Field(
            alias="krbRealm",
            description=(
                "KrbRealm is the Kerberos realm used with Kerberos keytab\nIt must be" " set if keytab is used."
            ),
        ),
    ] = None
    krb_service_principal_name: Annotated[
        Optional[str],
        Field(
            alias="krbServicePrincipalName",
            description=(
                "KrbServicePrincipalName is the principal name of Kerberos service\nIt"
                " must be set if either ccache or keytab is used."
            ),
        ),
    ] = None
    krb_username: Annotated[
        Optional[str],
        Field(
            alias="krbUsername",
            description=(
                "KrbUsername is the Kerberos username used with Kerberos keytab\nIt" " must be set if keytab is used."
            ),
        ),
    ] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    type: Annotated[Optional[str], Field(title="Type of file operations to watch")] = None
    watch_path_config: Annotated[Optional[WatchPathConfig], Field(alias="watchPathConfig")] = None

addresses class-attribute instance-attribute

addresses = None

check_interval class-attribute instance-attribute

check_interval = None

filter class-attribute instance-attribute

filter = None

hdfs_user class-attribute instance-attribute

hdfs_user = None

krb_c_cache_secret class-attribute instance-attribute

krb_c_cache_secret = None

krb_config_config_map class-attribute instance-attribute

krb_config_config_map = None

krb_keytab_secret class-attribute instance-attribute

krb_keytab_secret = None

krb_realm class-attribute instance-attribute

krb_realm = None

krb_service_principal_name class-attribute instance-attribute

krb_service_principal_name = None

krb_username class-attribute instance-attribute

krb_username = None

metadata class-attribute instance-attribute

metadata = None

type class-attribute instance-attribute

type = None

watch_path_config class-attribute instance-attribute

watch_path_config = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

HTTPTrigger

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class HTTPTrigger(BaseModel):
    basic_auth: Annotated[
        Optional[BasicAuth],
        Field(
            alias="basicAuth",
            title="BasicAuth configuration for the http request.\n+optional",
        ),
    ] = None
    headers: Annotated[
        Optional[Dict[str, str]],
        Field(title="Headers for the HTTP request.\n+optional"),
    ] = None
    method: Annotated[
        Optional[str],
        Field(
            title=(
                "Method refers to the type of the HTTP request.\nRefer"
                " https://golang.org/src/net/http/method.go for more"
                " io.argoproj.workflow.v1alpha1.\nDefault value is POST.\n+optional"
            )
        ),
    ] = None
    parameters: Annotated[
        Optional[List[TriggerParameter]],
        Field(
            description=(
                "Parameters is the list of key-value extracted from event's payload"
                " that are applied to\nthe HTTP trigger resource."
            )
        ),
    ] = None
    payload: Optional[List[TriggerParameter]] = None
    secure_headers: Annotated[
        Optional[List[SecureHeader]],
        Field(
            alias="secureHeaders",
            title=("Secure Headers stored in Kubernetes Secrets for the HTTP" " requests.\n+optional"),
        ),
    ] = None
    timeout: Annotated[
        Optional[str],
        Field(
            title=(
                "Timeout refers to the HTTP request timeout in seconds.\nDefault value" " is 60 seconds.\n+optional"
            )
        ),
    ] = None
    tls: Annotated[
        Optional[TLSConfig],
        Field(title="TLS configuration for the HTTP client.\n+optional"),
    ] = None
    url: Annotated[
        Optional[str],
        Field(description="URL refers to the URL to send HTTP request to."),
    ] = None

basic_auth class-attribute instance-attribute

basic_auth = None

headers class-attribute instance-attribute

headers = None

method class-attribute instance-attribute

method = None

parameters class-attribute instance-attribute

parameters = None

payload class-attribute instance-attribute

payload = None

secure_headers class-attribute instance-attribute

secure_headers = None

timeout class-attribute instance-attribute

timeout = None

tls class-attribute instance-attribute

tls = None

url class-attribute instance-attribute

url = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

Int64OrString

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class Int64OrString(BaseModel):
    int64_val: Annotated[Optional[str], Field(alias="int64Val")] = None
    str_val: Annotated[Optional[str], Field(alias="strVal")] = None
    type: Optional[str] = None

int64_val class-attribute instance-attribute

int64_val = None

str_val class-attribute instance-attribute

str_val = None

type class-attribute instance-attribute

type = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

K8SResourcePolicy

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class K8SResourcePolicy(BaseModel):
    backoff: Annotated[Optional[Backoff], Field(title="Backoff before checking resource state")] = None
    error_on_backoff_timeout: Annotated[
        Optional[bool],
        Field(
            alias="errorOnBackoffTimeout",
            title=(
                "ErrorOnBackoffTimeout determines whether sensor should transition to"
                " error state if the trigger policy is unable to determine\nthe state"
                " of the resource"
            ),
        ),
    ] = None
    labels: Annotated[
        Optional[Dict[str, str]],
        Field(title="Labels required to identify whether a resource is in success state"),
    ] = None

backoff class-attribute instance-attribute

backoff = None

error_on_backoff_timeout class-attribute instance-attribute

error_on_backoff_timeout = None

labels class-attribute instance-attribute

labels = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

KafkaConsumerGroup

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class KafkaConsumerGroup(BaseModel):
    group_name: Annotated[
        Optional[str],
        Field(alias="groupName", title="The name for the consumer group to use"),
    ] = None
    oldest: Annotated[
        Optional[bool],
        Field(
            title=(
                "When starting up a new group do we want to start from the oldest event"
                " (true) or the newest event (false), defaults to false\n+optional"
            )
        ),
    ] = None
    rebalance_strategy: Annotated[
        Optional[str],
        Field(
            alias="rebalanceStrategy",
            title=("Rebalance strategy can be one of: sticky, roundrobin, range. Range is" " the default.\n+optional"),
        ),
    ] = None

group_name class-attribute instance-attribute

group_name = None

oldest class-attribute instance-attribute

oldest = None

rebalance_strategy class-attribute instance-attribute

rebalance_strategy = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

KafkaEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class KafkaEventSource(BaseModel):
    config: Annotated[
        Optional[str],
        Field(
            description=(
                "Yaml format Sarama config for Kafka connection.\nIt follows the struct"
                " of sarama.Config. See"
                " https://github.com/Shopify/sarama/blob/main/config.go\ne.g.\n\nconsumer:\n"
                "  fetch:\n    min: 1\nnet:\n  MaxOpenRequests: 5\n\n+optional"
            )
        ),
    ] = None
    connection_backoff: Annotated[
        Optional[Backoff],
        Field(
            alias="connectionBackoff",
            description="Backoff holds parameters applied to connection.",
        ),
    ] = None
    consumer_group: Annotated[
        Optional[KafkaConsumerGroup],
        Field(alias="consumerGroup", title="Consumer group for kafka client\n+optional"),
    ] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    json_body: Annotated[
        Optional[bool],
        Field(
            alias="jsonBody",
            title=(
                "JSONBody specifies that all event body payload coming from" " this\nsource will be JSON\n+optional"
            ),
        ),
    ] = None
    limit_events_per_second: Annotated[
        Optional[str],
        Field(
            alias="limitEventsPerSecond",
            title=("Sets a limit on how many events get read from kafka per" " second.\n+optional"),
        ),
    ] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    partition: Annotated[Optional[str], Field(title="Partition name")] = None
    sasl: Annotated[
        Optional[SASLConfig],
        Field(title="SASL configuration for the kafka client\n+optional"),
    ] = None
    tls: Annotated[
        Optional[TLSConfig],
        Field(title="TLS configuration for the kafka client.\n+optional"),
    ] = None
    topic: Annotated[Optional[str], Field(title="Topic name")] = None
    url: Annotated[
        Optional[str],
        Field(title="URL to kafka cluster, multiple URLs separated by comma"),
    ] = None
    version: Annotated[
        Optional[str],
        Field(
            title=(
                "Specify what kafka version is being connected to enables certain"
                " features in sarama, defaults to 1.0.0\n+optional"
            )
        ),
    ] = None

config class-attribute instance-attribute

config = None

connection_backoff class-attribute instance-attribute

connection_backoff = None

consumer_group class-attribute instance-attribute

consumer_group = None

filter class-attribute instance-attribute

filter = None

json_body class-attribute instance-attribute

json_body = None

limit_events_per_second class-attribute instance-attribute

limit_events_per_second = None

metadata class-attribute instance-attribute

metadata = None

partition class-attribute instance-attribute

partition = None

sasl class-attribute instance-attribute

sasl = None

tls class-attribute instance-attribute

tls = None

topic class-attribute instance-attribute

topic = None

url class-attribute instance-attribute

url = None

version class-attribute instance-attribute

version = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

KafkaTrigger

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class KafkaTrigger(BaseModel):
    compress: Annotated[
        Optional[bool],
        Field(
            title=(
                "Compress determines whether to compress message or not.\nDefaults to"
                " false.\nIf set to true, compresses message using snappy"
                " compression.\n+optional"
            )
        ),
    ] = None
    flush_frequency: Annotated[
        Optional[int],
        Field(
            alias="flushFrequency",
            title=(
                "FlushFrequency refers to the frequency in milliseconds to flush"
                " batches.\nDefaults to 500 milliseconds.\n+optional"
            ),
        ),
    ] = None
    parameters: Annotated[
        Optional[List[TriggerParameter]],
        Field(
            description=("Parameters is the list of parameters that is applied to resolved Kafka" " trigger object.")
        ),
    ] = None
    partition: Annotated[Optional[int], Field(description="Partition to write data to.")] = None
    partitioning_key: Annotated[
        Optional[str],
        Field(
            alias="partitioningKey",
            description=(
                "The partitioning key for the messages put on the Kafka" " topic.\nDefaults to broker url.\n+optional."
            ),
        ),
    ] = None
    payload: Annotated[
        Optional[List[TriggerParameter]],
        Field(
            description=(
                "Payload is the list of key-value extracted from an event payload to" " construct the request payload."
            )
        ),
    ] = None
    required_acks: Annotated[
        Optional[int],
        Field(
            alias="requiredAcks",
            description=(
                "RequiredAcks used in producer to tell the broker how many replica"
                " acknowledgements\nDefaults to 1 (Only wait for the leader to"
                " ack).\n+optional."
            ),
        ),
    ] = None
    sasl: Annotated[
        Optional[SASLConfig],
        Field(title="SASL configuration for the kafka client\n+optional"),
    ] = None
    tls: Annotated[
        Optional[TLSConfig],
        Field(title="TLS configuration for the Kafka producer.\n+optional"),
    ] = None
    topic: Annotated[
        Optional[str],
        Field(title=("Name of the topic.\nMore info at" " https://kafka.apache.org/documentation/#intro_topics")),
    ] = None
    url: Annotated[
        Optional[str],
        Field(description="URL of the Kafka broker, multiple URLs separated by comma."),
    ] = None
    version: Annotated[
        Optional[str],
        Field(
            title=(
                "Specify what kafka version is being connected to enables certain"
                " features in sarama, defaults to 1.0.0\n+optional"
            )
        ),
    ] = None

compress class-attribute instance-attribute

compress = None

flush_frequency class-attribute instance-attribute

flush_frequency = None

parameters class-attribute instance-attribute

parameters = None

partition class-attribute instance-attribute

partition = None

partitioning_key class-attribute instance-attribute

partitioning_key = None

payload class-attribute instance-attribute

payload = None

required_acks class-attribute instance-attribute

required_acks = None

sasl class-attribute instance-attribute

sasl = None

tls class-attribute instance-attribute

tls = None

topic class-attribute instance-attribute

topic = None

url class-attribute instance-attribute

url = None

version class-attribute instance-attribute

version = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

LogTrigger

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class LogTrigger(BaseModel):
    interval_seconds: Annotated[
        Optional[str],
        Field(
            alias="intervalSeconds",
            title=(
                "Only print messages every interval. Useful to prevent logging too much"
                " data for busy events.\n+optional"
            ),
        ),
    ] = None

interval_seconds class-attribute instance-attribute

interval_seconds = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

MQTTEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class MQTTEventSource(BaseModel):
    client_id: Annotated[Optional[str], Field(alias="clientId", title="ClientID is the id of the client")] = None
    connection_backoff: Annotated[
        Optional[Backoff],
        Field(
            alias="connectionBackoff",
            description="ConnectionBackoff holds backoff applied to connection.",
        ),
    ] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    json_body: Annotated[
        Optional[bool],
        Field(
            alias="jsonBody",
            title=(
                "JSONBody specifies that all event body payload coming from" " this\nsource will be JSON\n+optional"
            ),
        ),
    ] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    tls: Annotated[
        Optional[TLSConfig],
        Field(title="TLS configuration for the mqtt client.\n+optional"),
    ] = None
    topic: Annotated[Optional[str], Field(title="Topic name")] = None
    url: Annotated[Optional[str], Field(title="URL to connect to broker")] = None

client_id class-attribute instance-attribute

client_id = None

connection_backoff class-attribute instance-attribute

connection_backoff = None

filter class-attribute instance-attribute

filter = None

json_body class-attribute instance-attribute

json_body = None

metadata class-attribute instance-attribute

metadata = None

tls class-attribute instance-attribute

tls = None

topic class-attribute instance-attribute

topic = None

url class-attribute instance-attribute

url = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

Metadata

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class Metadata(BaseModel):
    annotations: Optional[Dict[str, str]] = None
    labels: Optional[Dict[str, str]] = None

annotations class-attribute instance-attribute

annotations = None

labels class-attribute instance-attribute

labels = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

NATSAuth

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class NATSAuth(BaseModel):
    basic: Annotated[
        Optional[BasicAuth],
        Field(title="Baisc auth with username and password\n+optional"),
    ] = None
    credential: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(title="credential used to connect\n+optional"),
    ] = None
    nkey: Annotated[Optional[v1_1.SecretKeySelector], Field(title="NKey used to connect\n+optional")] = None
    token: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(title="Token used to connect\n+optional"),
    ] = None

basic class-attribute instance-attribute

basic = None

credential class-attribute instance-attribute

credential = None

nkey class-attribute instance-attribute

nkey = None

token class-attribute instance-attribute

token = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

NATSEventsSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class NATSEventsSource(BaseModel):
    auth: Annotated[Optional[NATSAuth], Field(title="Auth information\n+optional")] = None
    connection_backoff: Annotated[
        Optional[Backoff],
        Field(
            alias="connectionBackoff",
            description="ConnectionBackoff holds backoff applied to connection.",
        ),
    ] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    json_body: Annotated[
        Optional[bool],
        Field(
            alias="jsonBody",
            title=(
                "JSONBody specifies that all event body payload coming from" " this\nsource will be JSON\n+optional"
            ),
        ),
    ] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    subject: Annotated[
        Optional[str],
        Field(title=("Subject holds the name of the subject onto which messages are" " published")),
    ] = None
    tls: Annotated[
        Optional[TLSConfig],
        Field(title="TLS configuration for the nats client.\n+optional"),
    ] = None
    url: Annotated[Optional[str], Field(title="URL to connect to NATS cluster")] = None

auth class-attribute instance-attribute

auth = None

connection_backoff class-attribute instance-attribute

connection_backoff = None

filter class-attribute instance-attribute

filter = None

json_body class-attribute instance-attribute

json_body = None

metadata class-attribute instance-attribute

metadata = None

subject class-attribute instance-attribute

subject = None

tls class-attribute instance-attribute

tls = None

url class-attribute instance-attribute

url = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

NATSTrigger

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class NATSTrigger(BaseModel):
    parameters: Optional[List[TriggerParameter]] = None
    payload: Optional[List[TriggerParameter]] = None
    subject: Annotated[Optional[str], Field(description="Name of the subject to put message on.")] = None
    tls: Annotated[
        Optional[TLSConfig],
        Field(title="TLS configuration for the NATS producer.\n+optional"),
    ] = None
    url: Annotated[Optional[str], Field(description="URL of the NATS cluster.")] = None

parameters class-attribute instance-attribute

parameters = None

payload class-attribute instance-attribute

payload = None

subject class-attribute instance-attribute

subject = None

tls class-attribute instance-attribute

tls = None

url class-attribute instance-attribute

url = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

NSQEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class NSQEventSource(BaseModel):
    channel: Annotated[Optional[str], Field(title="Channel used for subscription")] = None
    connection_backoff: Annotated[
        Optional[Backoff],
        Field(
            alias="connectionBackoff",
            title="Backoff holds parameters applied to connection.\n+optional",
        ),
    ] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    host_address: Annotated[
        Optional[str],
        Field(
            alias="hostAddress",
            title="HostAddress is the address of the host for NSQ lookup",
        ),
    ] = None
    json_body: Annotated[
        Optional[bool],
        Field(
            alias="jsonBody",
            title=(
                "JSONBody specifies that all event body payload coming from" " this\nsource will be JSON\n+optional"
            ),
        ),
    ] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    tls: Annotated[
        Optional[TLSConfig],
        Field(title="TLS configuration for the nsq client.\n+optional"),
    ] = None
    topic: Annotated[Optional[str], Field(description="Topic to subscribe to.")] = None

channel class-attribute instance-attribute

channel = None

connection_backoff class-attribute instance-attribute

connection_backoff = None

filter class-attribute instance-attribute

filter = None

host_address class-attribute instance-attribute

host_address = None

json_body class-attribute instance-attribute

json_body = None

metadata class-attribute instance-attribute

metadata = None

tls class-attribute instance-attribute

tls = None

topic class-attribute instance-attribute

topic = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

OpenWhiskTrigger

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class OpenWhiskTrigger(BaseModel):
    action_name: Annotated[
        Optional[str],
        Field(alias="actionName", description="Name of the action/function."),
    ] = None
    auth_token: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(alias="authToken", title="AuthToken for authentication.\n+optional"),
    ] = None
    host: Annotated[Optional[str], Field(description="Host URL of the OpenWhisk.")] = None
    namespace: Annotated[
        Optional[str],
        Field(description='Namespace for the action.\nDefaults to "_".\n+optional.'),
    ] = None
    parameters: Annotated[
        Optional[List[TriggerParameter]],
        Field(
            title=(
                "Parameters is the list of key-value extracted from event's payload"
                " that are applied to\nthe trigger resource.\n+optional"
            )
        ),
    ] = None
    payload: Annotated[
        Optional[List[TriggerParameter]],
        Field(
            description=(
                "Payload is the list of key-value extracted from an event payload to" " construct the request payload."
            )
        ),
    ] = None
    version: Annotated[Optional[str], Field(title="Version for the API.\nDefaults to v1.\n+optional")] = None

action_name class-attribute instance-attribute

action_name = None

auth_token class-attribute instance-attribute

auth_token = None

host class-attribute instance-attribute

host = None

namespace class-attribute instance-attribute

namespace = None

parameters class-attribute instance-attribute

parameters = None

payload class-attribute instance-attribute

payload = None

version class-attribute instance-attribute

version = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

OwnedRepositories

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class OwnedRepositories(BaseModel):
    names: Annotated[Optional[List[str]], Field(title="Repository names")] = None
    owner: Annotated[Optional[str], Field(title="Organization or user name")] = None

names class-attribute instance-attribute

names = None

owner class-attribute instance-attribute

owner = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

PayloadField

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class PayloadField(BaseModel):
    name: Annotated[
        Optional[str],
        Field(description="Name acts as key that holds the value at the path."),
    ] = None
    path: Annotated[
        Optional[str],
        Field(
            description=(
                "Path is the JSONPath of the event's (JSON decoded) data key\nPath is a"
                " series of keys separated by a dot. A key may contain wildcard"
                " characters '*' and '?'.\nTo access an array value use the index as"
                " the key. The dot and wildcard characters can be escaped with"
                " '\\\\'.\nSee https://github.com/tidwall/gjson#path-syntax for more"
                " information on how to use this."
            )
        ),
    ] = None

name class-attribute instance-attribute

name = None

path class-attribute instance-attribute

path = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

PubSubEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class PubSubEventSource(BaseModel):
    credential_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="credentialSecret",
            title=(
                "CredentialSecret references to the secret that contains JSON"
                " credentials to access GCP.\nIf it is missing, it implicitly uses"
                " Workload Identity to"
                " access.\nhttps://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity\n+optional"
            ),
        ),
    ] = None
    delete_subscription_on_finish: Annotated[
        Optional[bool],
        Field(
            alias="deleteSubscriptionOnFinish",
            title=(
                "DeleteSubscriptionOnFinish determines whether to delete the GCP PubSub"
                " subscription once the event source is stopped.\n+optional"
            ),
        ),
    ] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    json_body: Annotated[
        Optional[bool],
        Field(
            alias="jsonBody",
            title=(
                "JSONBody specifies that all event body payload coming from" " this\nsource will be JSON\n+optional"
            ),
        ),
    ] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    project_id: Annotated[
        Optional[str],
        Field(
            alias="projectID",
            title=(
                "ProjectID is GCP project ID for the subscription.\nRequired if you run"
                " Argo Events outside of GKE/GCE.\n(otherwise, the default value is its"
                " project)\n+optional"
            ),
        ),
    ] = None
    subscription_id: Annotated[
        Optional[str],
        Field(
            alias="subscriptionID",
            title=(
                "SubscriptionID is ID of subscription.\nRequired if you use existing"
                " subscription.\nThe default value will be auto generated hash based on"
                " this eventsource setting, so the subscription\nmight be recreated"
                " every time you update the setting, which has a possibility of event"
                " loss.\n+optional"
            ),
        ),
    ] = None
    topic: Annotated[
        Optional[str],
        Field(
            title=(
                "Topic to which the subscription should belongs.\nRequired if you want"
                " the eventsource to create a new subscription.\nIf you specify this"
                " field along with an existing subscription,\nit will be verified"
                " whether it actually belongs to the specified topic.\n+optional"
            )
        ),
    ] = None
    topic_project_id: Annotated[
        Optional[str],
        Field(
            alias="topicProjectID",
            title=(
                "TopicProjectID is GCP project ID for the topic.\nBy default, it is" " same as ProjectID.\n+optional"
            ),
        ),
    ] = None

credential_secret class-attribute instance-attribute

credential_secret = None

delete_subscription_on_finish class-attribute instance-attribute

delete_subscription_on_finish = None

filter class-attribute instance-attribute

filter = None

json_body class-attribute instance-attribute

json_body = None

metadata class-attribute instance-attribute

metadata = None

project_id class-attribute instance-attribute

project_id = None

subscription_id class-attribute instance-attribute

subscription_id = None

topic class-attribute instance-attribute

topic = None

topic_project_id class-attribute instance-attribute

topic_project_id = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

PulsarEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class PulsarEventSource(BaseModel):
    auth_token_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="authTokenSecret",
            title="Authentication token for the pulsar client.\n+optional",
        ),
    ] = None
    connection_backoff: Annotated[
        Optional[Backoff],
        Field(
            alias="connectionBackoff",
            title="Backoff holds parameters applied to connection.\n+optional",
        ),
    ] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    json_body: Annotated[
        Optional[bool],
        Field(
            alias="jsonBody",
            title=(
                "JSONBody specifies that all event body payload coming from" " this\nsource will be JSON\n+optional"
            ),
        ),
    ] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    tls: Annotated[
        Optional[TLSConfig],
        Field(title="TLS configuration for the pulsar client.\n+optional"),
    ] = None
    tls_allow_insecure_connection: Annotated[
        Optional[bool],
        Field(
            alias="tlsAllowInsecureConnection",
            title=("Whether the Pulsar client accept untrusted TLS certificate from" " broker.\n+optional"),
        ),
    ] = None
    tls_trust_certs_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="tlsTrustCertsSecret",
            title="Trusted TLS certificate secret.\n+optional",
        ),
    ] = None
    tls_validate_hostname: Annotated[
        Optional[bool],
        Field(
            alias="tlsValidateHostname",
            title=("Whether the Pulsar client verify the validity of the host name from" " broker.\n+optional"),
        ),
    ] = None
    topics: Annotated[
        Optional[List[str]],
        Field(title="Name of the topics to subscribe to.\n+required"),
    ] = None
    type: Annotated[
        Optional[str],
        Field(
            title=(
                'Type of the subscription.\nOnly "exclusive" and "shared" is'
                " supported.\nDefaults to exclusive.\n+optional"
            )
        ),
    ] = None
    url: Annotated[
        Optional[str],
        Field(title="Configure the service URL for the Pulsar service.\n+required"),
    ] = None

auth_token_secret class-attribute instance-attribute

auth_token_secret = None

connection_backoff class-attribute instance-attribute

connection_backoff = None

filter class-attribute instance-attribute

filter = None

json_body class-attribute instance-attribute

json_body = None

metadata class-attribute instance-attribute

metadata = None

tls class-attribute instance-attribute

tls = None

tls_allow_insecure_connection class-attribute instance-attribute

tls_allow_insecure_connection = None

tls_trust_certs_secret class-attribute instance-attribute

tls_trust_certs_secret = None

tls_validate_hostname class-attribute instance-attribute

tls_validate_hostname = None

topics class-attribute instance-attribute

topics = None

type class-attribute instance-attribute

type = None

url class-attribute instance-attribute

url = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

PulsarTrigger

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class PulsarTrigger(BaseModel):
    auth_token_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="authTokenSecret",
            title="Authentication token for the pulsar client.\n+optional",
        ),
    ] = None
    connection_backoff: Annotated[
        Optional[Backoff],
        Field(
            alias="connectionBackoff",
            title="Backoff holds parameters applied to connection.\n+optional",
        ),
    ] = None
    parameters: Annotated[
        Optional[List[TriggerParameter]],
        Field(
            description=("Parameters is the list of parameters that is applied to resolved Kafka" " trigger object.")
        ),
    ] = None
    payload: Annotated[
        Optional[List[TriggerParameter]],
        Field(
            description=(
                "Payload is the list of key-value extracted from an event payload to" " construct the request payload."
            )
        ),
    ] = None
    tls: Annotated[
        Optional[TLSConfig],
        Field(title="TLS configuration for the pulsar client.\n+optional"),
    ] = None
    tls_allow_insecure_connection: Annotated[
        Optional[bool],
        Field(
            alias="tlsAllowInsecureConnection",
            title=("Whether the Pulsar client accept untrusted TLS certificate from" " broker.\n+optional"),
        ),
    ] = None
    tls_trust_certs_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="tlsTrustCertsSecret",
            title="Trusted TLS certificate secret.\n+optional",
        ),
    ] = None
    tls_validate_hostname: Annotated[
        Optional[bool],
        Field(
            alias="tlsValidateHostname",
            title=("Whether the Pulsar client verify the validity of the host name from" " broker.\n+optional"),
        ),
    ] = None
    topic: Annotated[
        Optional[str],
        Field(title=("Name of the topic.\nSee" " https://pulsar.apache.org/docs/en/concepts-messaging/")),
    ] = None
    url: Annotated[
        Optional[str],
        Field(title="Configure the service URL for the Pulsar service.\n+required"),
    ] = None

auth_token_secret class-attribute instance-attribute

auth_token_secret = None

connection_backoff class-attribute instance-attribute

connection_backoff = None

parameters class-attribute instance-attribute

parameters = None

payload class-attribute instance-attribute

payload = None

tls class-attribute instance-attribute

tls = None

tls_allow_insecure_connection class-attribute instance-attribute

tls_allow_insecure_connection = None

tls_trust_certs_secret class-attribute instance-attribute

tls_trust_certs_secret = None

tls_validate_hostname class-attribute instance-attribute

tls_validate_hostname = None

topic class-attribute instance-attribute

topic = None

url class-attribute instance-attribute

url = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

RateLimit

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class RateLimit(BaseModel):
    requests_per_unit: Annotated[Optional[int], Field(alias="requestsPerUnit")] = None
    unit: Annotated[Optional[str], Field(title="Defaults to Second")] = None

requests_per_unit class-attribute instance-attribute

requests_per_unit = None

unit class-attribute instance-attribute

unit = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

RedisEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class RedisEventSource(BaseModel):
    channels: Optional[List[str]] = None
    db: Annotated[
        Optional[int],
        Field(title="DB to use. If not specified, default DB 0 will be used.\n+optional"),
    ] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    host_address: Annotated[
        Optional[str],
        Field(
            alias="hostAddress",
            title="HostAddress refers to the address of the Redis host/server",
        ),
    ] = None
    json_body: Annotated[
        Optional[bool],
        Field(
            alias="jsonBody",
            title=(
                "JSONBody specifies that all event body payload coming from" " this\nsource will be JSON\n+optional"
            ),
        ),
    ] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    namespace: Annotated[
        Optional[str],
        Field(
            title=(
                "Namespace to use to retrieve the password from. It should only be"
                " specified if password is declared\n+optional"
            )
        ),
    ] = None
    password: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(title="Password required for authentication if any.\n+optional"),
    ] = None
    tls: Annotated[
        Optional[TLSConfig],
        Field(title="TLS configuration for the redis client.\n+optional"),
    ] = None
    username: Annotated[
        Optional[str],
        Field(title="Username required for ACL style authentication if any.\n+optional"),
    ] = None

channels class-attribute instance-attribute

channels = None

db class-attribute instance-attribute

db = None

filter class-attribute instance-attribute

filter = None

host_address class-attribute instance-attribute

host_address = None

json_body class-attribute instance-attribute

json_body = None

metadata class-attribute instance-attribute

metadata = None

namespace class-attribute instance-attribute

namespace = None

password class-attribute instance-attribute

password = None

tls class-attribute instance-attribute

tls = None

username class-attribute instance-attribute

username = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

RedisStreamEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class RedisStreamEventSource(BaseModel):
    consumer_group: Annotated[
        Optional[str],
        Field(
            alias="consumerGroup",
            title=(
                "ConsumerGroup refers to the Redis stream consumer group that will"
                " be\ncreated on all redis streams. Messages are read through this"
                " group. Defaults to 'argo-events-cg'\n+optional"
            ),
        ),
    ] = None
    db: Annotated[
        Optional[int],
        Field(title="DB to use. If not specified, default DB 0 will be used.\n+optional"),
    ] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    host_address: Annotated[
        Optional[str],
        Field(
            alias="hostAddress",
            title=("HostAddress refers to the address of the Redis host/server (master" " instance)"),
        ),
    ] = None
    max_msg_count_per_read: Annotated[
        Optional[int],
        Field(
            alias="maxMsgCountPerRead",
            title=(
                "MaxMsgCountPerRead holds the maximum number of messages per stream"
                " that will be read in each XREADGROUP of all streams\nExample: if"
                " there are 2 streams and MaxMsgCountPerRead=10, then each XREADGROUP"
                " may read upto a total of 20 messages.\nSame as COUNT option in"
                " XREADGROUP(https://redis.io/topics/streams-intro). Defaults to"
                " 10\n+optional"
            ),
        ),
    ] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    password: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(title="Password required for authentication if any.\n+optional"),
    ] = None
    streams: Annotated[
        Optional[List[str]],
        Field(
            description=(
                "Streams to look for entries. XREADGROUP is used on all streams using a" " single consumer group."
            )
        ),
    ] = None
    tls: Annotated[
        Optional[TLSConfig],
        Field(title="TLS configuration for the redis client.\n+optional"),
    ] = None
    username: Annotated[
        Optional[str],
        Field(title="Username required for ACL style authentication if any.\n+optional"),
    ] = None

consumer_group class-attribute instance-attribute

consumer_group = None

db class-attribute instance-attribute

db = None

filter class-attribute instance-attribute

filter = None

host_address class-attribute instance-attribute

host_address = None

max_msg_count_per_read class-attribute instance-attribute

max_msg_count_per_read = None

metadata class-attribute instance-attribute

metadata = None

password class-attribute instance-attribute

password = None

streams class-attribute instance-attribute

streams = None

tls class-attribute instance-attribute

tls = None

username class-attribute instance-attribute

username = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

Resource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class Resource(BaseModel):
    value: Optional[str] = None

value class-attribute instance-attribute

value = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

ResourceEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class ResourceEventSource(BaseModel):
    event_types: Annotated[
        Optional[List[str]],
        Field(
            alias="eventTypes",
            description=(
                "EventTypes is the list of event type to watch.\nPossible values are -" " ADD, UPDATE and DELETE."
            ),
        ),
    ] = None
    filter: Annotated[
        Optional[ResourceFilter],
        Field(
            title=(
                "Filter is applied on the metadata of the resource\nIf you apply"
                " filter, then the internal event informer will only monitor objects"
                " that pass the filter.\n+optional"
            )
        ),
    ] = None
    group_version_resource: Annotated[
        Optional[v1.GroupVersionResource],
        Field(alias="groupVersionResource", title="Group of the resource"),
    ] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    namespace: Annotated[Optional[str], Field(title="Namespace where resource is deployed")] = None

event_types class-attribute instance-attribute

event_types = None

filter class-attribute instance-attribute

filter = None

group_version_resource class-attribute instance-attribute

group_version_resource = None

metadata class-attribute instance-attribute

metadata = None

namespace class-attribute instance-attribute

namespace = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

ResourceFilter

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class ResourceFilter(BaseModel):
    after_start: Annotated[
        Optional[bool],
        Field(
            alias="afterStart",
            title=(
                "If the resource is created after the start time then the event is" " treated as valid.\n+optional"
            ),
        ),
    ] = None
    created_by: Annotated[
        Optional[v1.Time],
        Field(
            alias="createdBy",
            title=(
                "If resource is created before the specified time then the event is" " treated as valid.\n+optional"
            ),
        ),
    ] = None
    fields: Annotated[
        Optional[List[Selector]],
        Field(
            title=(
                "Fields provide field filters similar to K8s field selector\n(see"
                " https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/).\nUnlike"
                " K8s field selector, it supports arbitrary fileds like"
                ' "spec.serviceAccountName",\nand the value could be a string or a'
                ' regex.\nSame as K8s field selector, operator "=", "==" and "!=" are'
                " supported.\n+optional"
            )
        ),
    ] = None
    labels: Annotated[
        Optional[List[Selector]],
        Field(
            title=(
                "Labels provide listing options to K8s API to watch resource/s.\nRefer"
                " https://kubernetes.io/docs/concepts/overview/working-with-objects/label-selectors/"
                " for more io.argoproj.workflow.v1alpha1.\n+optional"
            )
        ),
    ] = None
    prefix: Annotated[
        Optional[str],
        Field(title="Prefix filter is applied on the resource name.\n+optional"),
    ] = None

after_start class-attribute instance-attribute

after_start = None

created_by class-attribute instance-attribute

created_by = None

fields class-attribute instance-attribute

fields = None

labels class-attribute instance-attribute

labels = None

prefix class-attribute instance-attribute

prefix = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

S3Artifact

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class S3Artifact(BaseModel):
    access_key: Annotated[Optional[v1_1.SecretKeySelector], Field(alias="accessKey")] = None
    bucket: Optional[S3Bucket] = None
    endpoint: Optional[str] = None
    events: Optional[List[str]] = None
    filter: Optional[S3Filter] = None
    insecure: Optional[bool] = None
    metadata: Optional[Dict[str, str]] = None
    region: Optional[str] = None
    secret_key: Annotated[Optional[v1_1.SecretKeySelector], Field(alias="secretKey")] = None

access_key class-attribute instance-attribute

access_key = None

bucket class-attribute instance-attribute

bucket = None

endpoint class-attribute instance-attribute

endpoint = None

events class-attribute instance-attribute

events = None

filter class-attribute instance-attribute

filter = None

insecure class-attribute instance-attribute

insecure = None

metadata class-attribute instance-attribute

metadata = None

region class-attribute instance-attribute

region = None

secret_key class-attribute instance-attribute

secret_key = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

S3Bucket

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class S3Bucket(BaseModel):
    key: Optional[str] = None
    name: Optional[str] = None

key class-attribute instance-attribute

key = None

name class-attribute instance-attribute

name = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

S3Filter

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class S3Filter(BaseModel):
    prefix: Optional[str] = None
    suffix: Optional[str] = None

prefix class-attribute instance-attribute

prefix = None

suffix class-attribute instance-attribute

suffix = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

SASLConfig

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class SASLConfig(BaseModel):
    mechanism: Annotated[
        Optional[str],
        Field(
            title=(
                "SASLMechanism is the name of the enabled SASL mechanism.\nPossible"
                " values: OAUTHBEARER, PLAIN (defaults to PLAIN).\n+optional"
            )
        ),
    ] = None
    password: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(title="Password for SASL/PLAIN authentication"),
    ] = None
    user: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            title=(
                "User is the authentication identity (authcid) to present"
                " for\nSASL/PLAIN or SASL/SCRAM authentication"
            )
        ),
    ] = None

mechanism class-attribute instance-attribute

mechanism = None

password class-attribute instance-attribute

password = None

user class-attribute instance-attribute

user = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

SNSEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class SNSEventSource(BaseModel):
    access_key: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="accessKey",
            title="AccessKey refers K8s secret containing aws access key",
        ),
    ] = None
    endpoint: Annotated[
        Optional[str],
        Field(
            title=(
                "Endpoint configures connection to a specific SNS endpoint instead of" " Amazons servers\n+optional"
            )
        ),
    ] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    region: Annotated[Optional[str], Field(title="Region is AWS region")] = None
    role_arn: Annotated[
        Optional[str],
        Field(
            alias="roleARN",
            title=("RoleARN is the Amazon Resource Name (ARN) of the role to" " assume.\n+optional"),
        ),
    ] = None
    secret_key: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="secretKey",
            title="SecretKey refers K8s secret containing aws secret key",
        ),
    ] = None
    topic_arn: Annotated[Optional[str], Field(alias="topicArn", title="TopicArn")] = None
    validate_signature: Annotated[
        Optional[bool],
        Field(
            alias="validateSignature",
            title=(
                "ValidateSignature is boolean that can be set to true for SNS signature" " verification\n+optional"
            ),
        ),
    ] = None
    webhook: Annotated[Optional[WebhookContext], Field(title="Webhook configuration for http server")] = None

access_key class-attribute instance-attribute

access_key = None

endpoint class-attribute instance-attribute

endpoint = None

filter class-attribute instance-attribute

filter = None

metadata class-attribute instance-attribute

metadata = None

region class-attribute instance-attribute

region = None

role_arn class-attribute instance-attribute

role_arn = None

secret_key class-attribute instance-attribute

secret_key = None

topic_arn class-attribute instance-attribute

topic_arn = None

validate_signature class-attribute instance-attribute

validate_signature = None

webhook class-attribute instance-attribute

webhook = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

SQSEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class SQSEventSource(BaseModel):
    access_key: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="accessKey",
            title="AccessKey refers K8s secret containing aws access key",
        ),
    ] = None
    dlq: Annotated[
        Optional[bool],
        Field(
            title=(
                "DLQ specifies if a dead-letter queue is configured for messages that"
                " can't be processed successfully.\nIf set to true, messages with"
                " invalid payload won't be acknowledged to allow to forward them"
                " farther to the dead-letter queue.\nThe default value is"
                " false.\n+optional"
            )
        ),
    ] = None
    endpoint: Annotated[
        Optional[str],
        Field(
            title=(
                "Endpoint configures connection to a specific SQS endpoint instead of" " Amazons servers\n+optional"
            )
        ),
    ] = None
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    json_body: Annotated[
        Optional[bool],
        Field(
            alias="jsonBody",
            title=(
                "JSONBody specifies that all event body payload coming from" " this\nsource will be JSON\n+optional"
            ),
        ),
    ] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    queue: Annotated[Optional[str], Field(title="Queue is AWS SQS queue to listen to for messages")] = None
    queue_account_id: Annotated[
        Optional[str],
        Field(
            alias="queueAccountId",
            title=("QueueAccountID is the ID of the account that created the queue to" " monitor\n+optional"),
        ),
    ] = None
    region: Annotated[Optional[str], Field(title="Region is AWS region")] = None
    role_arn: Annotated[
        Optional[str],
        Field(
            alias="roleARN",
            title=("RoleARN is the Amazon Resource Name (ARN) of the role to" " assume.\n+optional"),
        ),
    ] = None
    secret_key: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="secretKey",
            title="SecretKey refers K8s secret containing aws secret key",
        ),
    ] = None
    session_token: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="sessionToken",
            title=(
                "SessionToken refers to K8s secret containing AWS temporary"
                " credentials(STS) session token\n+optional"
            ),
        ),
    ] = None
    wait_time_seconds: Annotated[
        Optional[str],
        Field(
            alias="waitTimeSeconds",
            description=(
                "WaitTimeSeconds is The duration (in seconds) for which the call waits"
                " for a message to arrive\nin the queue before returning."
            ),
        ),
    ] = None

access_key class-attribute instance-attribute

access_key = None

dlq class-attribute instance-attribute

dlq = None

endpoint class-attribute instance-attribute

endpoint = None

filter class-attribute instance-attribute

filter = None

json_body class-attribute instance-attribute

json_body = None

metadata class-attribute instance-attribute

metadata = None

queue class-attribute instance-attribute

queue = None

queue_account_id class-attribute instance-attribute

queue_account_id = None

region class-attribute instance-attribute

region = None

role_arn class-attribute instance-attribute

role_arn = None

secret_key class-attribute instance-attribute

secret_key = None

session_token class-attribute instance-attribute

session_token = None

wait_time_seconds class-attribute instance-attribute

wait_time_seconds = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

SecureHeader

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class SecureHeader(BaseModel):
    name: Optional[str] = None
    value_from: Annotated[
        Optional[ValueFromSource],
        Field(
            alias="valueFrom",
            title="Values can be read from either secrets or configmaps",
        ),
    ] = None

name class-attribute instance-attribute

name = None

value_from class-attribute instance-attribute

value_from = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

Selector

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class Selector(BaseModel):
    key: Annotated[Optional[str], Field(title="Key name")] = None
    operation: Annotated[
        Optional[str],
        Field(
            title=(
                "Supported operations like ==, !=, <=, >= etc.\nDefaults to ==.\nRefer"
                " https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors"
                " for more io.argoproj.workflow.v1alpha1.\n+optional"
            )
        ),
    ] = None
    value: Annotated[Optional[str], Field(title="Value")] = None

key class-attribute instance-attribute

key = None

operation class-attribute instance-attribute

operation = None

value class-attribute instance-attribute

value = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

Sensor

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class Sensor(BaseModel):
    metadata: Optional[v1.ObjectMeta] = None
    spec: Optional[SensorSpec] = None
    status: Annotated[Optional[SensorStatus], Field(title="+optional")] = None

metadata class-attribute instance-attribute

metadata = None

spec class-attribute instance-attribute

spec = None

status class-attribute instance-attribute

status = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

SensorList

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class SensorList(BaseModel):
    items: Optional[List[Sensor]] = None
    metadata: Optional[v1.ListMeta] = None

items class-attribute instance-attribute

items = None

metadata class-attribute instance-attribute

metadata = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

SensorSpec

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class SensorSpec(BaseModel):
    dependencies: Annotated[
        Optional[List[EventDependency]],
        Field(description=("Dependencies is a list of the events that this sensor is dependent on.")),
    ] = None
    error_on_failed_round: Annotated[
        Optional[bool],
        Field(
            alias="errorOnFailedRound",
            description=(
                "ErrorOnFailedRound if set to true, marks sensor state as `error` if"
                " the previous trigger round fails.\nOnce sensor state is set to"
                " `error`, no further triggers will be processed."
            ),
        ),
    ] = None
    event_bus_name: Annotated[
        Optional[str],
        Field(
            alias="eventBusName",
            title=("EventBusName references to a EventBus name. By default the value is" ' "default"'),
        ),
    ] = None
    replicas: Annotated[Optional[int], Field(title="Replicas is the sensor deployment replicas")] = None
    template: Annotated[
        Optional[Template],
        Field(title="Template is the pod specification for the sensor\n+optional"),
    ] = None
    triggers: Annotated[
        Optional[List[Trigger]],
        Field(
            description=(
                "Triggers is a list of the things that this sensor evokes. These are" " the outputs from this sensor."
            )
        ),
    ] = None

dependencies class-attribute instance-attribute

dependencies = None

error_on_failed_round class-attribute instance-attribute

error_on_failed_round = None

event_bus_name class-attribute instance-attribute

event_bus_name = None

replicas class-attribute instance-attribute

replicas = None

template class-attribute instance-attribute

template = None

triggers class-attribute instance-attribute

triggers = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

SensorStatus

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class SensorStatus(BaseModel):
    status: Optional[Status] = None

status class-attribute instance-attribute

status = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

Service

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class Service(BaseModel):
    cluster_ip: Annotated[
        Optional[str],
        Field(
            alias="clusterIP",
            title=(
                "clusterIP is the IP address of the service and is usually"
                " assigned\nrandomly by the master. If an address is specified manually"
                " and is not in\nuse by others, it will be allocated to the service;"
                " otherwise, creation\nof the service will fail. This field can not be"
                ' changed through updates.\nValid values are "None", empty string (""),'
                ' or a valid IP address. "None"\ncan be specified for headless services'
                " when proxying is not required.\nMore info:"
                " https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies\n+optional"
            ),
        ),
    ] = None
    ports: Annotated[
        Optional[List[v1_1.ServicePort]],
        Field(
            title=(
                "The list of ports that are exposed by this ClusterIP"
                " service.\n+patchMergeKey=port\n+patchStrategy=merge\n+listType=map\n+listMapKey=port\n+listMapKey=protocol"
            )
        ),
    ] = None

cluster_ip class-attribute instance-attribute

cluster_ip = None

ports class-attribute instance-attribute

ports = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

SlackEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class SlackEventSource(BaseModel):
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    signing_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(alias="signingSecret", title="Slack App signing secret"),
    ] = None
    token: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(title="Token for URL verification handshake"),
    ] = None
    webhook: Annotated[
        Optional[WebhookContext],
        Field(title="Webhook holds configuration for a REST endpoint"),
    ] = None

filter class-attribute instance-attribute

filter = None

metadata class-attribute instance-attribute

metadata = None

signing_secret class-attribute instance-attribute

signing_secret = None

token class-attribute instance-attribute

token = None

webhook class-attribute instance-attribute

webhook = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

SlackTrigger

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class SlackTrigger(BaseModel):
    channel: Annotated[
        Optional[str],
        Field(title=("Channel refers to which Slack channel to send slack" " message.\n+optional")),
    ] = None
    message: Annotated[
        Optional[str],
        Field(title=("Message refers to the message to send to the Slack channel.\n+optional")),
    ] = None
    parameters: Annotated[
        Optional[List[TriggerParameter]],
        Field(
            title=(
                "Parameters is the list of key-value extracted from event's payload"
                " that are applied to\nthe trigger resource.\n+optional"
            )
        ),
    ] = None
    slack_token: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="slackToken",
            description=(
                "SlackToken refers to the Kubernetes secret that holds the slack token" " required to send messages."
            ),
        ),
    ] = None

channel class-attribute instance-attribute

channel = None

message class-attribute instance-attribute

message = None

parameters class-attribute instance-attribute

parameters = None

slack_token class-attribute instance-attribute

slack_token = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

StandardK8STrigger

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class StandardK8STrigger(BaseModel):
    live_object: Annotated[
        Optional[bool],
        Field(
            alias="liveObject",
            title=(
                "LiveObject specifies whether the resource should be directly fetched"
                " from K8s instead\nof being marshaled from the resource artifact. If"
                " set to true, the resource artifact\nmust contain the information"
                " required to uniquely identify the resource in the cluster,\nthat is,"
                ' you must specify "apiVersion", "kind" as well as "name" and'
                ' "namespace" meta\ndata.\nOnly valid for operation type'
                " `update`\n+optional"
            ),
        ),
    ] = None
    operation: Annotated[
        Optional[str],
        Field(
            title=(
                "Operation refers to the type of operation performed on the k8s"
                " resource.\nDefault value is Create.\n+optional"
            )
        ),
    ] = None
    parameters: Annotated[
        Optional[List[TriggerParameter]],
        Field(description=("Parameters is the list of parameters that is applied to resolved K8s" " trigger object.")),
    ] = None
    patch_strategy: Annotated[
        Optional[str],
        Field(
            alias="patchStrategy",
            title=(
                "PatchStrategy controls the K8s object patching strategy when the"
                " trigger operation is specified as patch.\npossible"
                ' values:\n"application/json-patch+json"\n"application/merge-patch+json"\n"application/strategic-merge-patch+json"\n"application/apply-patch+yaml".\nDefaults'
                ' to "application/merge-patch+json"\n+optional'
            ),
        ),
    ] = None
    source: Annotated[Optional[ArtifactLocation], Field(title="Source of the K8s resource file(s)")] = None

live_object class-attribute instance-attribute

live_object = None

operation class-attribute instance-attribute

operation = None

parameters class-attribute instance-attribute

parameters = None

patch_strategy class-attribute instance-attribute

patch_strategy = None

source class-attribute instance-attribute

source = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

Status

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class Status(BaseModel):
    conditions: Annotated[
        Optional[List[Condition]],
        Field(
            title=(
                "Conditions are the latest available observations of a resource's"
                " current state.\n+optional\n+patchMergeKey=type\n+patchStrategy=merge"
            )
        ),
    ] = None

conditions class-attribute instance-attribute

conditions = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

StatusPolicy

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class StatusPolicy(BaseModel):
    allow: Optional[List[int]] = None

allow class-attribute instance-attribute

allow = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

StorageGridEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class StorageGridEventSource(BaseModel):
    api_url: Annotated[
        Optional[str],
        Field(alias="apiURL", description="APIURL is the url of the storagegrid api."),
    ] = None
    auth_token: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(alias="authToken", title="Auth token for storagegrid api"),
    ] = None
    bucket: Annotated[
        Optional[str],
        Field(description="Name of the bucket to register notifications for."),
    ] = None
    events: Optional[List[str]] = None
    filter: Annotated[
        Optional[StorageGridFilter],
        Field(description="Filter on object key which caused the notification."),
    ] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    region: Annotated[Optional[str], Field(title="S3 region.\nDefaults to us-east-1\n+optional")] = None
    topic_arn: Annotated[Optional[str], Field(alias="topicArn", title="TopicArn")] = None
    webhook: Annotated[
        Optional[WebhookContext],
        Field(title="Webhook holds configuration for a REST endpoint"),
    ] = None

api_url class-attribute instance-attribute

api_url = None

auth_token class-attribute instance-attribute

auth_token = None

bucket class-attribute instance-attribute

bucket = None

events class-attribute instance-attribute

events = None

filter class-attribute instance-attribute

filter = None

metadata class-attribute instance-attribute

metadata = None

region class-attribute instance-attribute

region = None

topic_arn class-attribute instance-attribute

topic_arn = None

webhook class-attribute instance-attribute

webhook = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

StorageGridFilter

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class StorageGridFilter(BaseModel):
    prefix: Optional[str] = None
    suffix: Optional[str] = None

prefix class-attribute instance-attribute

prefix = None

suffix class-attribute instance-attribute

suffix = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

StripeEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class StripeEventSource(BaseModel):
    api_key: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="apiKey",
            title=(
                "APIKey refers to K8s secret that holds Stripe API key. Used only if"
                " CreateWebhook is enabled.\n+optional"
            ),
        ),
    ] = None
    create_webhook: Annotated[
        Optional[bool],
        Field(
            alias="createWebhook",
            title=("CreateWebhook if specified creates a new webhook" " programmatically.\n+optional"),
        ),
    ] = None
    event_filter: Annotated[
        Optional[List[str]],
        Field(
            alias="eventFilter",
            title=(
                "EventFilter describes the type of events to listen to. If not"
                " specified, all types of events will be processed.\nMore info at"
                " https://stripe.com/docs/api/events/list\n+optional"
            ),
        ),
    ] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    webhook: Annotated[
        Optional[WebhookContext],
        Field(title="Webhook holds configuration for a REST endpoint"),
    ] = None

api_key class-attribute instance-attribute

api_key = None

create_webhook class-attribute instance-attribute

create_webhook = None

event_filter class-attribute instance-attribute

event_filter = None

metadata class-attribute instance-attribute

metadata = None

webhook class-attribute instance-attribute

webhook = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

TLSConfig

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class TLSConfig(BaseModel):
    ca_cert_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="caCertSecret",
            title="CACertSecret refers to the secret that contains the CA cert",
        ),
    ] = None
    client_cert_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="clientCertSecret",
            title="ClientCertSecret refers to the secret that contains the client cert",
        ),
    ] = None
    client_key_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="clientKeySecret",
            title="ClientKeySecret refers to the secret that contains the client key",
        ),
    ] = None
    insecure_skip_verify: Annotated[
        Optional[bool],
        Field(
            alias="insecureSkipVerify",
            title=(
                "If true, skips creation of TLSConfig with certs and creates an empty"
                " TLSConfig. (Defaults to false)\n+optional"
            ),
        ),
    ] = None

ca_cert_secret class-attribute instance-attribute

ca_cert_secret = None

client_cert_secret class-attribute instance-attribute

client_cert_secret = None

client_key_secret class-attribute instance-attribute

client_key_secret = None

insecure_skip_verify class-attribute instance-attribute

insecure_skip_verify = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

Template

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class Template(BaseModel):
    affinity: Annotated[
        Optional[v1_1.Affinity],
        Field(title="If specified, the pod's scheduling constraints\n+optional"),
    ] = None
    container: Annotated[
        Optional[v1_1.Container],
        Field(title=("Container is the main container image to run in the sensor" " pod\n+optional")),
    ] = None
    image_pull_secrets: Annotated[
        Optional[List[v1_1.LocalObjectReference]],
        Field(
            alias="imagePullSecrets",
            title=(
                "ImagePullSecrets is an optional list of references to secrets in the"
                " same namespace to use for pulling any of the images used by this"
                " PodSpec.\nIf specified, these secrets will be passed to individual"
                " puller implementations for them to use. For example,\nin the case of"
                " docker, only DockerConfig type secrets are honored.\nMore info:"
                " https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod\n+optional\n+patchMergeKey=name\n+patchStrategy=merge"
            ),
        ),
    ] = None
    metadata: Annotated[
        Optional[Metadata],
        Field(title="Metadata sets the pods's metadata, i.e. annotations and labels"),
    ] = None
    node_selector: Annotated[
        Optional[Dict[str, str]],
        Field(
            alias="nodeSelector",
            title=(
                "NodeSelector is a selector which must be true for the pod to fit on a"
                " node.\nSelector which must match a node's labels for the pod to be"
                " scheduled on that node.\nMore info:"
                " https://kubernetes.io/docs/concepts/configuration/assign-pod-node/\n+optional"
            ),
        ),
    ] = None
    priority: Annotated[
        Optional[int],
        Field(
            title=(
                "The priority value. Various system components use this field to find"
                " the\npriority of the EventSource pod. When Priority Admission"
                " Controller is enabled,\nit prevents users from setting this field."
                " The admission controller populates\nthis field from"
                " PriorityClassName.\nThe higher the value, the higher the"
                " priority.\nMore info:"
                " https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/\n+optional"
            )
        ),
    ] = None
    priority_class_name: Annotated[
        Optional[str],
        Field(
            alias="priorityClassName",
            title=(
                "If specified, indicates the EventSource pod's priority."
                ' "system-node-critical"\nand "system-cluster-critical" are two special'
                " keywords which indicate the\nhighest priorities with the former being"
                " the highest priority. Any other\nname must be defined by creating a"
                " PriorityClass object with that name.\nIf not specified, the pod"
                " priority will be default or zero if there is no\ndefault.\nMore info:"
                " https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/\n+optional"
            ),
        ),
    ] = None
    security_context: Annotated[
        Optional[v1_1.PodSecurityContext],
        Field(
            alias="securityContext",
            title=(
                "SecurityContext holds pod-level security attributes and common"
                " container settings.\nOptional: Defaults to empty.  See type"
                " description for default values of each field.\n+optional"
            ),
        ),
    ] = None
    service_account_name: Annotated[
        Optional[str],
        Field(
            alias="serviceAccountName",
            title=(
                "ServiceAccountName is the name of the ServiceAccount to use to run"
                " sensor pod.\nMore info:"
                " https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/\n+optional"
            ),
        ),
    ] = None
    tolerations: Annotated[
        Optional[List[v1_1.Toleration]],
        Field(title="If specified, the pod's tolerations.\n+optional"),
    ] = None
    volumes: Annotated[
        Optional[List[v1_1.Volume]],
        Field(
            title=(
                "Volumes is a list of volumes that can be mounted by containers in a"
                " io.argoproj.workflow.v1alpha1.\n+patchStrategy=merge\n+patchMergeKey=name\n+optional"
            )
        ),
    ] = None

affinity class-attribute instance-attribute

affinity = None

container class-attribute instance-attribute

container = None

image_pull_secrets class-attribute instance-attribute

image_pull_secrets = None

metadata class-attribute instance-attribute

metadata = None

node_selector class-attribute instance-attribute

node_selector = None

priority class-attribute instance-attribute

priority = None

priority_class_name class-attribute instance-attribute

priority_class_name = None

security_context class-attribute instance-attribute

security_context = None

service_account_name class-attribute instance-attribute

service_account_name = None

tolerations class-attribute instance-attribute

tolerations = None

volumes class-attribute instance-attribute

volumes = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

TimeFilter

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class TimeFilter(BaseModel):
    start: Annotated[
        Optional[str],
        Field(
            description=(
                "Start is the beginning of a time window in UTC.\nBefore this time,"
                " events for this dependency are ignored.\nFormat is hh:mm:ss."
            )
        ),
    ] = None
    stop: Annotated[
        Optional[str],
        Field(
            description=(
                "Stop is the end of a time window in UTC.\nAfter or equal to this time,"
                " events for this dependency are ignored and\nFormat is hh:mm:ss.\nIf"
                " it is smaller than Start, it is treated as next day of Start\n(e.g.:"
                " 22:00:00-01:00:00 means 22:00:00-25:00:00)."
            )
        ),
    ] = None

start class-attribute instance-attribute

start = None

stop class-attribute instance-attribute

stop = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

Trigger

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class Trigger(BaseModel):
    parameters: Annotated[
        Optional[List[TriggerParameter]],
        Field(title=("Parameters is the list of parameters applied to the trigger template" " definition")),
    ] = None
    policy: Annotated[
        Optional[TriggerPolicy],
        Field(title=("Policy to configure backoff and execution criteria for the" " trigger\n+optional")),
    ] = None
    rate_limit: Annotated[
        Optional[RateLimit],
        Field(alias="rateLimit", title="Rate limit, default unit is Second\n+optional"),
    ] = None
    retry_strategy: Annotated[
        Optional[Backoff],
        Field(
            alias="retryStrategy",
            title="Retry strategy, defaults to no retry\n+optional",
        ),
    ] = None
    template: Annotated[
        Optional[TriggerTemplate],
        Field(description="Template describes the trigger specification."),
    ] = None

parameters class-attribute instance-attribute

parameters = None

policy class-attribute instance-attribute

policy = None

rate_limit class-attribute instance-attribute

rate_limit = None

retry_strategy class-attribute instance-attribute

retry_strategy = None

template class-attribute instance-attribute

template = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

TriggerParameter

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class TriggerParameter(BaseModel):
    dest: Annotated[
        Optional[str],
        Field(
            description=(
                "Dest is the JSONPath of a resource key.\nA path is a series of keys"
                " separated by a dot. The colon character can be escaped with '.'\nThe"
                " -1 key can be used to append a value to an existing array.\nSee"
                " https://github.com/tidwall/sjson#path-syntax for more information"
                " about how this is used."
            )
        ),
    ] = None
    operation: Annotated[
        Optional[str],
        Field(
            description=(
                "Operation is what to do with the existing value at Dest, whether"
                " to\n'prepend', 'overwrite', or 'append' it."
            )
        ),
    ] = None
    src: Annotated[
        Optional[TriggerParameterSource],
        Field(title=("Src contains a source reference to the value of the parameter from a" " dependency")),
    ] = None

dest class-attribute instance-attribute

dest = None

operation class-attribute instance-attribute

operation = None

src class-attribute instance-attribute

src = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

TriggerParameterSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class TriggerParameterSource(BaseModel):
    context_key: Annotated[
        Optional[str],
        Field(
            alias="contextKey",
            description=(
                "ContextKey is the JSONPath of the event's (JSON decoded) context"
                " key\nContextKey is a series of keys separated by a dot. A key may"
                " contain wildcard characters '*' and '?'.\nTo access an array value"
                " use the index as the key. The dot and wildcard characters can be"
                " escaped with '\\\\'.\nSee"
                " https://github.com/tidwall/gjson#path-syntax for more information on"
                " how to use this."
            ),
        ),
    ] = None
    context_template: Annotated[
        Optional[str],
        Field(
            alias="contextTemplate",
            title=(
                "ContextTemplate is a go-template for extracting a string from the"
                " event's context.\nIf a ContextTemplate is provided with a ContextKey,"
                " the template will be evaluated first and fallback to the"
                " ContextKey.\nThe templating follows the standard go-template syntax"
                " as well as sprig's extra functions.\nSee"
                " https://pkg.go.dev/text/template and"
                " https://masterminds.github.io/sprig/"
            ),
        ),
    ] = None
    data_key: Annotated[
        Optional[str],
        Field(
            alias="dataKey",
            description=(
                "DataKey is the JSONPath of the event's (JSON decoded) data"
                " key\nDataKey is a series of keys separated by a dot. A key may"
                " contain wildcard characters '*' and '?'.\nTo access an array value"
                " use the index as the key. The dot and wildcard characters can be"
                " escaped with '\\\\'.\nSee"
                " https://github.com/tidwall/gjson#path-syntax for more information on"
                " how to use this."
            ),
        ),
    ] = None
    data_template: Annotated[
        Optional[str],
        Field(
            alias="dataTemplate",
            title=(
                "DataTemplate is a go-template for extracting a string from the event's"
                " data.\nIf a DataTemplate is provided with a DataKey, the template"
                " will be evaluated first and fallback to the DataKey.\nThe templating"
                " follows the standard go-template syntax as well as sprig's extra"
                " functions.\nSee https://pkg.go.dev/text/template and"
                " https://masterminds.github.io/sprig/"
            ),
        ),
    ] = None
    dependency_name: Annotated[
        Optional[str],
        Field(
            alias="dependencyName",
            description=(
                "DependencyName refers to the name of the dependency. The event which"
                " is stored for this dependency is used as payload\nfor the"
                " parameterization. Make sure to refer to one of the dependencies you"
                " have defined under Dependencies list."
            ),
        ),
    ] = None
    value: Annotated[
        Optional[str],
        Field(
            description=(
                "Value is the default literal value to use for this parameter"
                " source\nThis is only used if the DataKey is invalid.\nIf the DataKey"
                " is invalid and this is not defined, this param source will produce an"
                " error."
            )
        ),
    ] = None

context_key class-attribute instance-attribute

context_key = None

context_template class-attribute instance-attribute

context_template = None

data_key class-attribute instance-attribute

data_key = None

data_template class-attribute instance-attribute

data_template = None

dependency_name class-attribute instance-attribute

dependency_name = None

value class-attribute instance-attribute

value = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

TriggerPolicy

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class TriggerPolicy(BaseModel):
    k8s: Annotated[
        Optional[K8SResourcePolicy],
        Field(
            title=(
                "K8SResourcePolicy refers to the policy used to check the state of K8s"
                " based triggers using using labels"
            )
        ),
    ] = None
    status: Annotated[
        Optional[StatusPolicy],
        Field(title=("Status refers to the policy used to check the state of the trigger" " using response status")),
    ] = None

k8s class-attribute instance-attribute

k8s = None

status class-attribute instance-attribute

status = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

TriggerTemplate

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class TriggerTemplate(BaseModel):
    argo_workflow: Annotated[
        Optional[ArgoWorkflowTrigger],
        Field(
            alias="argoWorkflow",
            title=(
                "ArgoWorkflow refers to the trigger that can perform various operations"
                " on an Argo io.argoproj.workflow.v1alpha1.\n+optional"
            ),
        ),
    ] = None
    aws_lambda: Annotated[
        Optional[AWSLambdaTrigger],
        Field(
            alias="awsLambda",
            title=(
                "AWSLambda refers to the trigger designed to invoke AWS Lambda function"
                " with with on-the-fly constructable payload.\n+optional"
            ),
        ),
    ] = None
    azure_event_hubs: Annotated[
        Optional[AzureEventHubsTrigger],
        Field(
            alias="azureEventHubs",
            title=("AzureEventHubs refers to the trigger send an event to an Azure Event" " Hub.\n+optional"),
        ),
    ] = None
    conditions: Annotated[
        Optional[str],
        Field(
            title=(
                "Conditions is the conditions to execute the trigger.\nFor example:"
                ' "(dep01 || dep02) && dep04"\n+optional'
            )
        ),
    ] = None
    conditions_reset: Annotated[
        Optional[List[ConditionsResetCriteria]],
        Field(alias="conditionsReset", title="Criteria to reset the conditons\n+optional"),
    ] = None
    custom: Annotated[
        Optional[CustomTrigger],
        Field(
            title=(
                "CustomTrigger refers to the trigger designed to connect to a gRPC"
                " trigger server and execute a custom trigger.\n+optional"
            )
        ),
    ] = None
    http: Annotated[
        Optional[HTTPTrigger],
        Field(
            title=(
                "HTTP refers to the trigger designed to dispatch a HTTP request with"
                " on-the-fly constructable payload.\n+optional"
            )
        ),
    ] = None
    k8s: Annotated[
        Optional[StandardK8STrigger],
        Field(
            title=(
                "StandardK8STrigger refers to the trigger designed to create or update"
                " a generic Kubernetes resource.\n+optional"
            )
        ),
    ] = None
    kafka: Annotated[
        Optional[KafkaTrigger],
        Field(description=("Kafka refers to the trigger designed to place messages on Kafka" " topic.\n+optional.")),
    ] = None
    log: Annotated[
        Optional[LogTrigger],
        Field(
            title=("Log refers to the trigger designed to invoke log the" " io.argoproj.workflow.v1alpha1.\n+optional")
        ),
    ] = None
    name: Annotated[Optional[str], Field(description="Name is a unique name of the action to take.")] = None
    nats: Annotated[
        Optional[NATSTrigger],
        Field(description=("NATS refers to the trigger designed to place message on NATS" " subject.\n+optional.")),
    ] = None
    open_whisk: Annotated[
        Optional[OpenWhiskTrigger],
        Field(
            alias="openWhisk",
            title=("OpenWhisk refers to the trigger designed to invoke OpenWhisk" " action.\n+optional"),
        ),
    ] = None
    pulsar: Annotated[
        Optional[PulsarTrigger],
        Field(title=("Pulsar refers to the trigger designed to place messages on Pulsar" " topic.\n+optional")),
    ] = None
    slack: Annotated[
        Optional[SlackTrigger],
        Field(title=("Slack refers to the trigger designed to send slack notification" " message.\n+optional")),
    ] = None

argo_workflow class-attribute instance-attribute

argo_workflow = None

aws_lambda class-attribute instance-attribute

aws_lambda = None

azure_event_hubs class-attribute instance-attribute

azure_event_hubs = None

conditions class-attribute instance-attribute

conditions = None

conditions_reset class-attribute instance-attribute

conditions_reset = None

custom class-attribute instance-attribute

custom = None

http class-attribute instance-attribute

http = None

k8s class-attribute instance-attribute

k8s = None

kafka class-attribute instance-attribute

kafka = None

log class-attribute instance-attribute

log = None

name class-attribute instance-attribute

name = None

nats class-attribute instance-attribute

nats = None

open_whisk class-attribute instance-attribute

open_whisk = None

pulsar class-attribute instance-attribute

pulsar = None

slack class-attribute instance-attribute

slack = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

URLArtifact

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class URLArtifact(BaseModel):
    path: Annotated[Optional[str], Field(title="Path is the complete URL")] = None
    verify_cert: Annotated[
        Optional[bool],
        Field(
            alias="verifyCert",
            title="VerifyCert decides whether the connection is secure or not",
        ),
    ] = None

path class-attribute instance-attribute

path = None

verify_cert class-attribute instance-attribute

verify_cert = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

ValueFromSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class ValueFromSource(BaseModel):
    config_map_key_ref: Annotated[Optional[v1_1.ConfigMapKeySelector], Field(alias="configMapKeyRef")] = None
    secret_key_ref: Annotated[Optional[v1_1.SecretKeySelector], Field(alias="secretKeyRef")] = None

config_map_key_ref class-attribute instance-attribute

config_map_key_ref = None

secret_key_ref class-attribute instance-attribute

secret_key_ref = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

WatchPathConfig

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class WatchPathConfig(BaseModel):
    directory: Annotated[Optional[str], Field(title="Directory to watch for events")] = None
    path: Annotated[
        Optional[str],
        Field(title=("Path is relative path of object to watch with respect to the directory")),
    ] = None
    path_regexp: Annotated[
        Optional[str],
        Field(
            alias="pathRegexp",
            title=("PathRegexp is regexp of relative path of object to watch with respect" " to the directory"),
        ),
    ] = None

directory class-attribute instance-attribute

directory = None

path class-attribute instance-attribute

path = None

path_regexp class-attribute instance-attribute

path_regexp = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

WebhookContext

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class WebhookContext(BaseModel):
    auth_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="authSecret",
            title=("AuthSecret holds a secret selector that contains a bearer token for" " authentication\n+optional"),
        ),
    ] = None
    endpoint: Annotated[Optional[str], Field(title="REST API endpoint")] = None
    max_payload_size: Annotated[
        Optional[str],
        Field(
            alias="maxPayloadSize",
            title=(
                "MaxPayloadSize is the maximum webhook payload size that the server"
                " will accept.\nRequests exceeding that limit will be rejected with"
                ' "request too large" response.\nDefault value: 1048576'
                " (1MB).\n+optional"
            ),
        ),
    ] = None
    metadata: Annotated[
        Optional[Dict[str, str]],
        Field(
            title=("Metadata holds the user defined metadata which will passed along the" " event payload.\n+optional")
        ),
    ] = None
    method: Annotated[
        Optional[str],
        Field(
            title=(
                "Method is HTTP request method that indicates the desired action to be"
                " performed for a given resource.\nSee RFC7231 Hypertext Transfer"
                " Protocol (HTTP/1.1): Semantics and Content"
            )
        ),
    ] = None
    port: Annotated[
        Optional[str],
        Field(description="Port on which HTTP server is listening for incoming events."),
    ] = None
    server_cert_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="serverCertSecret",
            description="ServerCertPath refers the file that contains the cert.",
        ),
    ] = None
    server_key_secret: Annotated[
        Optional[v1_1.SecretKeySelector],
        Field(
            alias="serverKeySecret",
            title="ServerKeyPath refers the file that contains private key",
        ),
    ] = None
    url: Annotated[Optional[str], Field(description="URL is the url of the server.")] = None

auth_secret class-attribute instance-attribute

auth_secret = None

endpoint class-attribute instance-attribute

endpoint = None

max_payload_size class-attribute instance-attribute

max_payload_size = None

metadata class-attribute instance-attribute

metadata = None

method class-attribute instance-attribute

method = None

port class-attribute instance-attribute

port = None

server_cert_secret class-attribute instance-attribute

server_cert_secret = None

server_key_secret class-attribute instance-attribute

server_key_secret = None

url class-attribute instance-attribute

url = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

WebhookEventSource

Source code in src/hera/events/models/io/argoproj/events/v1alpha1.py
class WebhookEventSource(BaseModel):
    filter: Annotated[Optional[EventSourceFilter], Field(title="Filter\n+optional")] = None
    webhook_context: Annotated[Optional[WebhookContext], Field(alias="webhookContext")] = None

filter class-attribute instance-attribute

filter = None

webhook_context class-attribute instance-attribute

webhook_context = None

Config

Config class dictates the behavior of the underlying Pydantic model.

See Pydantic documentation for more info.

Source code in src/hera/shared/_pydantic.py
class Config:
    """Config class dictates the behavior of the underlying Pydantic model.

    See Pydantic documentation for more info.
    """

    allow_population_by_field_name = True
    """support populating Hera object fields by their Field alias"""

    allow_mutation = True
    """supports mutating Hera objects post instantiation"""

    use_enum_values = True
    """supports using enums, which are then unpacked to obtain the actual `.value`, on Hera objects"""

    arbitrary_types_allowed = True
    """supports specifying arbitrary types for any field to support Hera object fields processing"""

    smart_union = True
    """uses smart union for matching a field's specified value to the underlying type that's part of a union"""

allow_mutation class-attribute instance-attribute

allow_mutation = True

supports mutating Hera objects post instantiation

allow_population_by_field_name class-attribute instance-attribute

allow_population_by_field_name = True

support populating Hera object fields by their Field alias

arbitrary_types_allowed class-attribute instance-attribute

arbitrary_types_allowed = True

supports specifying arbitrary types for any field to support Hera object fields processing

smart_union class-attribute instance-attribute

smart_union = True

uses smart union for matching a field’s specified value to the underlying type that’s part of a union

use_enum_values class-attribute instance-attribute

use_enum_values = True

supports using enums, which are then unpacked to obtain the actual .value, on Hera objects

Comments