Skip to content
Snippets Groups Projects
Verified Commit 19492430 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

MAINT: Removed more Python 3.8 code.

parent 8429c402
No related branches found
No related tags found
2 merge requests!128MNT: Added a warning when column metadata is not configured, and a better...,!127Remove support for Python 3.8
Pipeline #59748 canceled
......@@ -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)
......
[tox]
envlist = py38, py39, py310, py311, py312, py313
envlist = py39, py310, py311, py312, py313
skip_missing_interpreters = true
[testenv]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment