Skip to content

Commit

Permalink
Remove python 3.11-specific typing
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 633204919
Change-Id: I5e437a5ece8ffc1cb4c987cb1581ba255ee52d67
  • Loading branch information
duenez authored and copybara-github committed May 13, 2024
1 parent 4908c5c commit 38e9268
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions concordia/typing/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"""Base class for generative agent (and game master) components."""

import abc
from typing import Self, Sequence
from typing import Sequence


class Component(metaclass=abc.ABCMeta):
Expand Down Expand Up @@ -122,6 +122,6 @@ def get_last_log(

def get_components(
self,
) -> Sequence[Self]:
) -> Sequence['Component']:
"""Returns a list of components or an empty list."""
return []

0 comments on commit 38e9268

Please sign in to comment.