brynq-sdk-imanage 1.0.5__tar.gz → 2.0.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_imanage-1.0.5 → brynq_sdk_imanage-2.0.0}/PKG-INFO +1 -1
- {brynq_sdk_imanage-1.0.5 → brynq_sdk_imanage-2.0.0}/brynq_sdk_imanage/__init__.py +4 -4
- {brynq_sdk_imanage-1.0.5 → brynq_sdk_imanage-2.0.0}/brynq_sdk_imanage.egg-info/PKG-INFO +1 -1
- brynq_sdk_imanage-2.0.0/brynq_sdk_imanage.egg-info/requires.txt +2 -0
- {brynq_sdk_imanage-1.0.5 → brynq_sdk_imanage-2.0.0}/setup.py +2 -2
- brynq_sdk_imanage-1.0.5/brynq_sdk_imanage.egg-info/requires.txt +0 -2
- {brynq_sdk_imanage-1.0.5 → brynq_sdk_imanage-2.0.0}/brynq_sdk_imanage.egg-info/SOURCES.txt +0 -0
- {brynq_sdk_imanage-1.0.5 → brynq_sdk_imanage-2.0.0}/brynq_sdk_imanage.egg-info/dependency_links.txt +0 -0
- {brynq_sdk_imanage-1.0.5 → brynq_sdk_imanage-2.0.0}/brynq_sdk_imanage.egg-info/not-zip-safe +0 -0
- {brynq_sdk_imanage-1.0.5 → brynq_sdk_imanage-2.0.0}/brynq_sdk_imanage.egg-info/top_level.txt +0 -0
- {brynq_sdk_imanage-1.0.5 → brynq_sdk_imanage-2.0.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import requests
|
|
2
2
|
import json
|
|
3
|
-
from typing import List, Union
|
|
3
|
+
from typing import List, Union, Literal, Optional
|
|
4
4
|
from brynq_sdk_brynq import BrynQ
|
|
5
5
|
|
|
6
6
|
|
|
@@ -8,13 +8,13 @@ from typing import List, Union
|
|
|
8
8
|
import requests
|
|
9
9
|
|
|
10
10
|
class IManage(BrynQ):
|
|
11
|
-
def __init__(self,
|
|
11
|
+
def __init__(self, system_type: Optional[Literal['source', 'target']] = None, debug: bool = False):
|
|
12
12
|
super().__init__()
|
|
13
13
|
self.timeout = 3600
|
|
14
14
|
self.debug = debug
|
|
15
|
-
self.credentials = self.interfaces.credentials.get(
|
|
15
|
+
self.credentials = self.interfaces.credentials.get(system='i-manage-oauth', system_type=system_type)
|
|
16
16
|
self.customer_name = self.subdomain.lower()
|
|
17
|
-
self.imanage_url =
|
|
17
|
+
self.imanage_url = 'https://cloudimanage.com'
|
|
18
18
|
self.customer_id, self.customer_url = self._get_customer_id_and_url()
|
|
19
19
|
|
|
20
20
|
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_namespace_packages
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name='brynq_sdk_imanage',
|
|
5
|
-
version='
|
|
5
|
+
version='2.0.0',
|
|
6
6
|
description='Imanage wrapper from BrynQ',
|
|
7
7
|
long_description='Imanage wrapper from BrynQ',
|
|
8
8
|
author='BrynQ',
|
|
@@ -10,7 +10,7 @@ setup(
|
|
|
10
10
|
packages=find_namespace_packages(include=['brynq_sdk*']),
|
|
11
11
|
license='BrynQ License',
|
|
12
12
|
install_requires=[
|
|
13
|
-
'brynq-sdk-brynq>=
|
|
13
|
+
'brynq-sdk-brynq>=4,<5',
|
|
14
14
|
'pandas>=2.2.0,<3.0.0',
|
|
15
15
|
],
|
|
16
16
|
zip_safe=False,
|
|
File without changes
|
{brynq_sdk_imanage-1.0.5 → brynq_sdk_imanage-2.0.0}/brynq_sdk_imanage.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
{brynq_sdk_imanage-1.0.5 → brynq_sdk_imanage-2.0.0}/brynq_sdk_imanage.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|