Skip to content

Commit

Permalink
types
Browse files Browse the repository at this point in the history
  • Loading branch information
EDsCODE committed Mar 26, 2024
1 parent f07b4f8 commit 08f27b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion posthog/hogql/ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ class AsteriskType(Type):

@dataclass(kw_only=True)
class FieldTraverserType(Type):
chain: List[str | int]
chain: List[str | int] | List[str]
table_type: TableOrSelectType


Expand Down
2 changes: 1 addition & 1 deletion posthog/hogql/database/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class ExpressionField(DatabaseField):
class FieldTraverser(FieldOrTable):
model_config = ConfigDict(extra="forbid")

chain: List[str | int]
chain: List[str]


class Table(FieldOrTable):
Expand Down

0 comments on commit 08f27b2

Please sign in to comment.