Fix missig fileds

develop
Matthieu DUVAL 2 years ago
parent 40c0c9aa69
commit cb5b85e9d4

@ -543,7 +543,12 @@ class GeoRideTracker(metaclass=JsonMgtMetaClass): # pylint: disable=R0904,R0902
cls.json_field_protect(json,'softwareVersion', 1),
cls.json_field_protect(json,'hasBeacon', False),
cls.json_field_protect(json,'hasOutdatedBeacons', False),
cls.json_field_protect(json,'eCallActivated', False)
cls.json_field_protect(json,'eCallActivated', False),
cls.json_field_protect(json,'eCallCrashMode'),
cls.json_field_protect(json,'assistanceTheftActivated'),
cls.json_field_protect(json,'model'),
cls.json_field_protect(json,'businessModel'),
cls.json_field_protect(json,'hasTheftCaseOpened'),
)
def update_all_data(self, tracker):

@ -19,19 +19,19 @@ CURRENT_DIR = os.path.dirname(__file__)
setup(
name='georideapilib',
packages=['georideapilib', 'georideapilib.objects'], # this must be the same as the name above
version='0.9.2',
version='0.9.3',
description='Lib to control GeoRide tracker devices with theire rest api',
author='Matthieu DUVAL',
author_email='georideapilib@duval-dev.fr',
# use the URL to the github repo
url='https://github.com/hacf/georide-api',
download_url='https://codeload.github.com/hacf/georide-api/tar.gz/0.9.2',
download_url='https://codeload.github.com/hacf/georide-api/tar.gz/0.9.3',
keywords=['rest', 'georide', 'api', 'grutier', 'GeoRide'], # arbitrary keywords
classifiers=[],
install_requires=["python-socketio[client]==4.6.1"],
tests_require=[
'pytest>=3.7',
'pytest-pep8',
'pytest-pep8',
'pytest-cov',
'python-coveralls',
'pylint',

Loading…
Cancel
Save