Skip to content

Commit

Permalink
remove self typing
Browse files Browse the repository at this point in the history
  • Loading branch information
EpsilonPrime committed Oct 8, 2024
1 parent 9932c06 commit ce186ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gateway/converter/symbol_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"""Routines to convert SparkConnect plans to Substrait plans."""

import dataclasses
from typing import Self


@dataclasses.dataclass
Expand All @@ -18,7 +17,7 @@ def __init__(self, name: str, child_names=None):
self.name = name
self.child_names = child_names or []

def alias(self, name: str) -> Self:
def alias(self, name: str):
"""Create a copy with an alternate name."""
new_field = Field(name)
new_field.child_names = self.child_names
Expand Down

0 comments on commit ce186ee

Please sign in to comment.