mirror of
https://github.com/EDCD/EDDN.git
synced 2025-06-16 23:32:08 +03:00
requirements: strict_rfc3339 was unused
This commit is contained in:
parent
e6529060e2
commit
b5df9439ad
@ -7,5 +7,4 @@ jsonschema==4.2.0
|
|||||||
pyzmq==22.3.0
|
pyzmq==22.3.0
|
||||||
requests==2.25.1
|
requests==2.25.1
|
||||||
simplejson==3.16.0
|
simplejson==3.16.0
|
||||||
strict_rfc3339==0.7
|
|
||||||
mysql-connector-python==8.0.27
|
mysql-connector-python==8.0.27
|
||||||
|
1
setup.py
1
setup.py
@ -98,7 +98,6 @@ setup(
|
|||||||
"gevent==1.3.7",
|
"gevent==1.3.7",
|
||||||
"jsonschema==2.6.0",
|
"jsonschema==2.6.0",
|
||||||
"pyzmq==17.1.2",
|
"pyzmq==17.1.2",
|
||||||
"strict_rfc3339==0.7",
|
|
||||||
"simplejson==3.16.0",
|
"simplejson==3.16.0",
|
||||||
"mysql-connector-python==8.0.17"
|
"mysql-connector-python==8.0.17"
|
||||||
],
|
],
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
# coding: utf8
|
# coding: utf8
|
||||||
|
"""Handle validating incoming messages against the schemas."""
|
||||||
|
|
||||||
|
from enum import IntEnum
|
||||||
|
|
||||||
import simplejson
|
import simplejson
|
||||||
import strict_rfc3339
|
from jsonschema import FormatChecker, ValidationError
|
||||||
from enum import IntEnum
|
from jsonschema import validate as jsValidate
|
||||||
from jsonschema import validate as jsValidate, ValidationError, FormatChecker
|
|
||||||
|
|
||||||
|
|
||||||
class Validator(object):
|
class Validator(object):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user