requirements: strict_rfc3339 was unused

This commit is contained in:
Athanasius 2021-11-04 16:41:22 +00:00
parent e6529060e2
commit b5df9439ad
No known key found for this signature in database
GPG Key ID: 8C392035DD80FD62
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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"
], ],

View File

@ -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):