Skip to content
Snippets Groups Projects

Remove support for Python 3.8

Merged I. Nüske requested to merge f-remove-py38-pipeline into dev
Files
5
@@ -23,11 +23,6 @@
# ** end header
#
from copy import deepcopy
# TODO(fspreck) for backwards compatibility with Python < 3.9 but this is
# actually
# [deprecated](https://docs.python.org/3/library/typing.html#typing.List), so
# remove this, when we drop support for old Python versions.
from typing import List
import linkahead as db
import linkahead.common.models as models
@@ -85,7 +80,7 @@ class DataModel(dict):
def append(self, entity: db.Entity):
self[entity.name] = entity
def extend(self, entities: List[db.Entity]):
def extend(self, entities: list[db.Entity]):
for entity in entities:
self.append(entity)
Loading