Skip to content

Commit

Permalink
Stop using TypeAlias in metadata.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mhauru committed Nov 17, 2023
1 parent 2e389f0 commit 75844fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/snsql/metadata.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from __future__ import annotations
from typing import TYPE_CHECKING, Iterable, TypeAlias, Union
from typing import TYPE_CHECKING, Iterable, Union
import yaml
import io
from os import path
Expand Down Expand Up @@ -363,7 +363,7 @@ def typename(self):
def unbounded(self):
return True

Column: TypeAlias = Union[Boolean, DateTime, Int, Float, String, Unknown]
Column = Union[Boolean, DateTime, Int, Float, String, Unknown]

class CollectionYamlLoader:
def __init__(self, file: Union[Path, str, io.IOBase]) -> None:
Expand Down

0 comments on commit 75844fe

Please sign in to comment.