Skip to content

applications.enums

OnSchemaBreakAction to take if an Application’s schema has breaking changes
OnUpdateAction to take if an Application has been updated
OperationPerformedDescribes the actions taken during deployment

class algokit_utils.applications.enums.OnSchemaBreak(*args, **kwds)

Section titled “class algokit_utils.applications.enums.OnSchemaBreak(*args, **kwds)”

Bases: enum.Enum

Action to take if an Application’s schema has breaking changes

Fail the deployment

Create a new Application and delete the old Application in a single transaction

Create a new Application

class algokit_utils.applications.enums.OnUpdate(*args, **kwds)

Section titled “class algokit_utils.applications.enums.OnUpdate(*args, **kwds)”

Bases: enum.Enum

Action to take if an Application has been updated

Fail the deployment

Update the Application with the new approval and clear programs

Create a new Application and delete the old Application in a single transaction

Create a new application

class algokit_utils.applications.enums.OperationPerformed(*args, **kwds)

Section titled “class algokit_utils.applications.enums.OperationPerformed(*args, **kwds)”

Bases: enum.Enum

Describes the actions taken during deployment

An existing Application was found

No existing Application was found, created a new Application

An existing Application was found, but was out of date, updated to latest version

An existing Application was found, but was out of date, created a new Application and deleted the original