omnata-plugin-runtime 0.9.1a211__tar.gz → 0.9.1a212__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: omnata-plugin-runtime
3
- Version: 0.9.1a211
3
+ Version: 0.9.1a212
4
4
  Summary: Classes and common runtime components for building and running Omnata Plugins
5
5
  Author: James Weakley
6
6
  Author-email: james.weakley@omnata.com
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "omnata-plugin-runtime"
3
- version = "0.9.1-a211"
3
+ version = "0.9.1-a212"
4
4
  description = "Classes and common runtime components for building and running Omnata Plugins"
5
5
  authors = ["James Weakley <james.weakley@omnata.com>"]
6
6
  readme = "README.md"
@@ -306,6 +306,19 @@ class FullyQualifiedTable(BaseModel):
306
306
  database_name = self.database_name.replace('"', "")
307
307
  return f'"{database_name}"."{schema_name}"."{table_name}"'
308
308
 
309
+ def get_fully_qualified_stage_name(self) -> str:
310
+ """
311
+ Stage name is derived from the table name
312
+ """
313
+ return self.get_fully_qualified_name(table_override=f"{self.table_name}_STAGE")
314
+
315
+ def get_fully_qualified_criteria_deletes_table_name(self) -> str:
316
+ """
317
+ Deletes table name is derived from the table name
318
+ """
319
+ return self.get_fully_qualified_name(
320
+ table_override=f"{self.table_name}_CRITERIA_DELETES"
321
+ )
309
322
 
310
323
  class SnowflakeViewPart(BaseModel):
311
324
  """