Skip to content

Commit

Permalink
Fix compat for python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
dhvcc committed Oct 3, 2023
1 parent 610a269 commit 699c3aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rss_parser/models/types/only_list.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from typing import Union
from typing import List, Union

from pydantic.validators import list_validator


class OnlyList(list):
class OnlyList(List):
@classmethod
def __get_validators__(cls):
yield cls.validate
Expand Down

0 comments on commit 699c3aa

Please sign in to comment.