Compare commits

...

1 Commits

Author SHA1 Message Date
Chenyu Li
b357706e1a better schema def 2025-01-28 16:40:39 -08:00
2 changed files with 193 additions and 25 deletions

View File

@@ -133,7 +133,7 @@ class FreshnessThreshold(dbtClassMixin, Mergeable):
@dataclass
class HasRelationMetadata(dbtClassMixin):
database: Optional[str]
schema: str
schema: Optional[str]
# Can't set database to None like it ought to be
# because it messes up the subclasses and default parameters

View File

@@ -121,7 +121,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
@@ -783,7 +790,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"alias": {
"type": "string"
@@ -1193,7 +1207,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
@@ -1999,7 +2020,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
@@ -2665,7 +2693,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
@@ -3482,7 +3517,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
@@ -4405,7 +4447,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"alias": {
"type": "string"
@@ -4910,7 +4959,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
@@ -5716,7 +5772,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
@@ -6443,7 +6506,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
@@ -7369,7 +7439,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"alias": {
"type": "string"
@@ -7789,7 +7866,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
@@ -10090,7 +10174,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
@@ -10752,7 +10843,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"alias": {
"type": "string"
@@ -11162,7 +11260,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
@@ -11968,7 +12073,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
@@ -12634,7 +12746,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
@@ -13451,7 +13570,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
@@ -14374,7 +14500,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"alias": {
"type": "string"
@@ -14879,7 +15012,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
@@ -15685,7 +15825,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
@@ -16412,7 +16559,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
@@ -17338,7 +17492,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"alias": {
"type": "string"
@@ -17749,7 +17910,14 @@
]
},
"schema": {
"type": "string"
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"