Skip to content

Commit

Permalink
fix use singledispatchmethod library for python <= 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
p1-dta committed Jun 13, 2022
1 parent 03f000c commit db27a69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion geojson_pydantic/geometries.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

import abc
import json
from functools import singledispatchmethod
from typing import Any, Iterator, List, Union

from pydantic import BaseModel, Field, ValidationError, validator
from pydantic.error_wrappers import ErrorWrapper
from singledispatchmethod import singledispatchmethod

from geojson_pydantic.types import (
LinearRing,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ classifiers = [
"Typing :: Typed",
]
dynamic = ["version"]
dependencies = ["pydantic"]
dependencies = ["pydantic", "singledispatchmethod"]

[project.optional-dependencies]
test = ["pytest", "pytest-cov", "shapely"]
Expand Down

0 comments on commit db27a69

Please sign in to comment.