pyGuardPoint 2.0.9__tar.gz → 2.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/PKG-INFO +1 -1
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_cardholders.py +3 -3
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_cardholders.py +3 -3
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint.egg-info/PKG-INFO +1 -1
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/setup.py +1 -1
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/LICENSE.txt +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/README.rst +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/CustomWebsocketTransport.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/CustomWebsocketTransportOld.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/__init__.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_accessgroups.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_alarmstates.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_alarmzones.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_areas.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_cardholdertypes.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_cards.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_controllers.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_customizedfields.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_departments.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_diagnostic.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_events.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_genericinformation.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_inputs.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_manualevents.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_ouputs.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_personaldetails.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_readers.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_scheduledmags.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_securitygroups.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_sites.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_guardpoint_weeklyprograms.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_odata_filter.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/_str_match_algo.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/__init__.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_accessgroups.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_alarmstates.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_alarmzones.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_areas.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_cardholdertypes.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_cards.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_controllers.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_customizedfields.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_departments.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_diagnostic.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_events.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_genericinformation.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_manualevents.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_ouputs.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_personaldetails.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_readers.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_scheduledmags.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_securitygroups.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_sites.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_weeklyprograms.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/guardpoint_connection_asyncio.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/guardpoint.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/guardpoint_asyncio.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/guardpoint_connection.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/guardpoint_dataclasses.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/guardpoint_error.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/guardpoint_threaded.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/guardpoint_utils.py +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint.egg-info/SOURCES.txt +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint.egg-info/dependency_links.txt +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint.egg-info/not-zip-safe +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint.egg-info/requires.txt +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint.egg-info/top_level.txt +0 -0
- {pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/setup.cfg +0 -0
|
@@ -4,7 +4,7 @@ from datetime import datetime
|
|
|
4
4
|
import validators
|
|
5
5
|
from ._odata_filter import _compose_filter, _compose_select, _compose_expand
|
|
6
6
|
from ._str_match_algo import fuzzy_match
|
|
7
|
-
from .guardpoint_dataclasses import Cardholder, SortAlgorithm, Area, CardholderOrderBy
|
|
7
|
+
from .guardpoint_dataclasses import Cardholder, SortAlgorithm, Area, CardholderOrderBy, CardholderType, SecurityGroup
|
|
8
8
|
from .guardpoint_error import GuardPointError, GuardPointUnauthorized
|
|
9
9
|
from .guardpoint_utils import GuardPointResponse
|
|
10
10
|
|
|
@@ -213,10 +213,10 @@ class CardholdersAPI:
|
|
|
213
213
|
if enroll_face_from_photo:
|
|
214
214
|
headers['EnrollFaceFromPhoto'] = ""
|
|
215
215
|
|
|
216
|
-
if cardholder.cardholderType:
|
|
216
|
+
if isinstance(cardholder.cardholderType, CardholderType):
|
|
217
217
|
cardholder.cardholderTypeUID = cardholder.cardholderType.uid
|
|
218
218
|
|
|
219
|
-
if cardholder.securityGroup:
|
|
219
|
+
if isinstance(cardholder.securityGroup, SecurityGroup):
|
|
220
220
|
cardholder.securityGroupUID = cardholder.securityGroup.uid
|
|
221
221
|
|
|
222
222
|
if changed_only:
|
{pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_cardholders.py
RENAMED
|
@@ -3,7 +3,7 @@ from datetime import datetime
|
|
|
3
3
|
import validators
|
|
4
4
|
from .._odata_filter import _compose_filter, _compose_select, _compose_expand
|
|
5
5
|
from .._str_match_algo import fuzzy_match
|
|
6
|
-
from ..guardpoint_dataclasses import Cardholder, SortAlgorithm, Area, CardholderOrderBy
|
|
6
|
+
from ..guardpoint_dataclasses import Cardholder, SortAlgorithm, Area, CardholderOrderBy, CardholderType, SecurityGroup
|
|
7
7
|
from ..guardpoint_error import GuardPointError, GuardPointUnauthorized
|
|
8
8
|
from ..guardpoint_utils import GuardPointResponse
|
|
9
9
|
|
|
@@ -142,10 +142,10 @@ class CardholdersAPI:
|
|
|
142
142
|
if enroll_face_from_photo:
|
|
143
143
|
headers['EnrollFaceFromPhoto'] = ""
|
|
144
144
|
|
|
145
|
-
if cardholder.cardholderType:
|
|
145
|
+
if isinstance(cardholder.cardholderType, CardholderType):
|
|
146
146
|
cardholder.cardholderTypeUID = cardholder.cardholderType.uid
|
|
147
147
|
|
|
148
|
-
if cardholder.securityGroup:
|
|
148
|
+
if isinstance(cardholder.securityGroup, SecurityGroup):
|
|
149
149
|
cardholder.securityGroupUID = cardholder.securityGroup.uid
|
|
150
150
|
|
|
151
151
|
if changed_only:
|
|
@@ -5,7 +5,7 @@ long_description = open('README.rst').read()
|
|
|
5
5
|
setup(name="pyGuardPoint",
|
|
6
6
|
python_requires='>3.9.0',
|
|
7
7
|
packages=find_packages(),
|
|
8
|
-
version="2.0
|
|
8
|
+
version="2.1.0",
|
|
9
9
|
author="John Owen",
|
|
10
10
|
description="Python wrapper for GuardPoint 10 Access Control System",
|
|
11
11
|
long_description_content_type='text/markdown',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_accessgroups.py
RENAMED
|
File without changes
|
{pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_alarmstates.py
RENAMED
|
File without changes
|
{pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_alarmzones.py
RENAMED
|
File without changes
|
{pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_areas.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_cards.py
RENAMED
|
File without changes
|
{pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_controllers.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_departments.py
RENAMED
|
File without changes
|
{pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_diagnostic.py
RENAMED
|
File without changes
|
{pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_events.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_manualevents.py
RENAMED
|
File without changes
|
{pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_ouputs.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_readers.py
RENAMED
|
File without changes
|
{pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_scheduledmags.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/_async_guardpoint_sites.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyguardpoint-2.0.9 → pyguardpoint-2.1.0}/pyGuardPoint/gp_asyncio/guardpoint_connection_asyncio.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|