Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 23d8fa5624 | |||
|
|
5c977e3732 | ||
| 1c541fa4d6 | |||
| cb5b85e9d4 | |||
| ec399c8b0a | |||
| 40c0c9aa69 |
@@ -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
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
6
setup.py
6
setup.py
@@ -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.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"],
|
||||
tests_require=[
|
||||
'pytest>=3.7',
|
||||
'pytest-pep8',
|
||||
'pytest-pep8',
|
||||
'pytest-cov',
|
||||
'python-coveralls',
|
||||
'pylint',
|
||||
|
||||
Reference in New Issue
Block a user