brynq-sdk-sharepoint 3.0.0__tar.gz → 3.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.
- {brynq_sdk_sharepoint-3.0.0 → brynq_sdk_sharepoint-3.1.0}/PKG-INFO +1 -1
- {brynq_sdk_sharepoint-3.0.0 → brynq_sdk_sharepoint-3.1.0}/brynq_sdk_sharepoint/sharepoint.py +3 -1
- {brynq_sdk_sharepoint-3.0.0 → brynq_sdk_sharepoint-3.1.0}/brynq_sdk_sharepoint.egg-info/PKG-INFO +1 -1
- {brynq_sdk_sharepoint-3.0.0 → brynq_sdk_sharepoint-3.1.0}/setup.py +2 -2
- {brynq_sdk_sharepoint-3.0.0 → brynq_sdk_sharepoint-3.1.0}/brynq_sdk_sharepoint/__init__.py +0 -0
- {brynq_sdk_sharepoint-3.0.0 → brynq_sdk_sharepoint-3.1.0}/brynq_sdk_sharepoint.egg-info/SOURCES.txt +0 -0
- {brynq_sdk_sharepoint-3.0.0 → brynq_sdk_sharepoint-3.1.0}/brynq_sdk_sharepoint.egg-info/dependency_links.txt +0 -0
- {brynq_sdk_sharepoint-3.0.0 → brynq_sdk_sharepoint-3.1.0}/brynq_sdk_sharepoint.egg-info/not-zip-safe +0 -0
- {brynq_sdk_sharepoint-3.0.0 → brynq_sdk_sharepoint-3.1.0}/brynq_sdk_sharepoint.egg-info/requires.txt +0 -0
- {brynq_sdk_sharepoint-3.0.0 → brynq_sdk_sharepoint-3.1.0}/brynq_sdk_sharepoint.egg-info/top_level.txt +0 -0
- {brynq_sdk_sharepoint-3.0.0 → brynq_sdk_sharepoint-3.1.0}/setup.cfg +0 -0
{brynq_sdk_sharepoint-3.0.0 → brynq_sdk_sharepoint-3.1.0}/brynq_sdk_sharepoint/sharepoint.py
RENAMED
|
@@ -8,16 +8,18 @@ import typing
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class Sharepoint(BrynQ):
|
|
11
|
-
def __init__(self, system_type: Optional[Literal['source', 'target']] = None, site: str = None, site_id: str = None, json_subset: int = None, site_name: str = None, debug: bool = False):
|
|
11
|
+
def __init__(self, system_type: Optional[Literal['source', 'target']] = None, site: str = None, site_id: str = None, json_subset: int = None, site_name: str = None, debug: bool = False, deviating_data_interface_id: int = None):
|
|
12
12
|
"""
|
|
13
13
|
:param label: label of the sharepoint system in BrynQ
|
|
14
14
|
:param site: base url of the sharepoint site
|
|
15
15
|
:param site_id: site id of the sharepoint site
|
|
16
16
|
:param json_subset: fill in the part of the json that needs to be accessed to get the wanted drive id, accompanying the drive you are looking for
|
|
17
17
|
:param debug: set to True to enable debug logging
|
|
18
|
+
:param deviating_data_interface_id: Sometimes you need to get credentials from another data interface. This is the data interface id of the data interface you want to get the credentials from.
|
|
18
19
|
"""
|
|
19
20
|
super().__init__()
|
|
20
21
|
self.system_type = system_type
|
|
22
|
+
self.data_interface_id = deviating_data_interface_id if deviating_data_interface_id is not None else self.data_interface_id
|
|
21
23
|
credentials = self.interfaces.credentials.get(system="sharepoint", system_type=system_type)
|
|
22
24
|
credentials = credentials.get('data')
|
|
23
25
|
self.debug = debug
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_namespace_packages
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name='brynq_sdk_sharepoint',
|
|
5
|
-
version='3.
|
|
5
|
+
version='3.1.0',
|
|
6
6
|
description='Sharepoint wrapper from BrynQ',
|
|
7
7
|
long_description='Sharepoint wrapper from BrynQ',
|
|
8
8
|
author='BrynQ',
|
|
@@ -14,4 +14,4 @@ setup(
|
|
|
14
14
|
'requests>=2,<=3'
|
|
15
15
|
],
|
|
16
16
|
zip_safe=False,
|
|
17
|
-
)
|
|
17
|
+
)
|
|
File without changes
|
{brynq_sdk_sharepoint-3.0.0 → brynq_sdk_sharepoint-3.1.0}/brynq_sdk_sharepoint.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{brynq_sdk_sharepoint-3.0.0 → brynq_sdk_sharepoint-3.1.0}/brynq_sdk_sharepoint.egg-info/not-zip-safe
RENAMED
|
File without changes
|
{brynq_sdk_sharepoint-3.0.0 → brynq_sdk_sharepoint-3.1.0}/brynq_sdk_sharepoint.egg-info/requires.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|