Skip to content

Commit

Permalink
Removes unneeded logic
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonWeill committed Nov 15, 2023
1 parent abb35c2 commit 40815f9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions jupyter_scheduler/pydantic_v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,3 @@
from pydantic.v1 import *
except ImportError:
from pydantic import *


try:
_PYDANTIC_MAJOR_VERSION: int = int(metadata.version("pydantic").split(".")[0])
except metadata.PackageNotFoundError:
_PYDANTIC_MAJOR_VERSION = 0

0 comments on commit 40815f9

Please sign in to comment.