Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jsikorski committed Mar 8, 2024
1 parent 54f641c commit 75d7467
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@

class Application(UpdatableModel):
role: Optional[str] = Field(
title="Role to use when creating the application instance and consumer-side objects",
title="Role to use when creating the application object and consumer-side objects",
default=None,
)
name: Optional[str] = Field(
title="Name of the application created when you run the snow app run command",
title="Name of the application object created when you run the snow app run command",
default=None,
)
warehouse: Optional[str] = IdentifierField(
title="Name of the application created when you run the snow app run command",
title="Name of the application object created when you run the snow app run command",
default=None,
)
debug: Optional[bool] = Field(
title="Whether to enable debug mode when using a named stage to create an application",
title="Whether to enable debug mode when using a named stage to create an application object",
default=True,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ class NativeApp(UpdatableModel):
@classmethod
def validate_source_stage(cls, input_value: str):
if not re.match(SCHEMA_AND_NAME, input_value):
raise ValueError("Incorrect value for Native Apps source stage value")
raise ValueError("Incorrect value for source_stage value of native_app")
return input_value

0 comments on commit 75d7467

Please sign in to comment.