6 Commits

Author SHA1 Message Date
23d8fa5624 Shipping v0.9.4 2023-02-28 19:17:57 +01:00
Matthieu DUVAL
5c977e3732 Fix: georide tracker property method 2023-02-28 19:16:52 +01:00
1c541fa4d6 Shipping v0.9.3 2023-02-27 20:24:39 +01:00
cb5b85e9d4 Fix missig fileds 2023-02-27 20:20:26 +01:00
ec399c8b0a Shipping v0.9.2 2023-02-27 20:06:34 +01:00
40c0c9aa69 Fixgitemail mispell 2023-02-27 20:05:16 +01:00
3 changed files with 11 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ class GeoRideAccount:
""" Account object representation """
def __init__(self, account_id, email, is_admin, auth_token):
self._account_id = account_id
self._email = emailgit
self._email = email
self._is_admin = is_admin
self._auth_token = auth_token

View File

@@ -462,7 +462,7 @@ class GeoRideTracker(metaclass=JsonMgtMetaClass): # pylint: disable=R0904,R0902
return self._ecall_crash_mode
@property
def _ssistance_theft_activated(self):
def assistance_theft_activated(self):
""" assistanceTheftActivated property """
return self._assistance_theft_activated
@@ -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):

View File

@@ -19,13 +19,13 @@ 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.1',
version='0.9.4',
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.1',
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"],