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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.0
2
2
  Name: brynq_sdk_imanage
3
- Version: 1.0.5
3
+ Version: 2.0.0
4
4
  Summary: Imanage wrapper from BrynQ
5
5
  Home-page: UNKNOWN
6
6
  Author: BrynQ
@@ -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, interface_id:str,system_type:str='source', debug: bool = False):
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(interface_id=interface_id, system='i-manage-oauth', system_type=system_type)
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 = f'https://cloudimanage.com'
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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.0
2
2
  Name: brynq-sdk-imanage
3
- Version: 1.0.5
3
+ Version: 2.0.0
4
4
  Summary: Imanage wrapper from BrynQ
5
5
  Home-page: UNKNOWN
6
6
  Author: BrynQ
@@ -0,0 +1,2 @@
1
+ brynq-sdk-brynq<5,>=4
2
+ pandas<3.0.0,>=2.2.0
@@ -2,7 +2,7 @@ from setuptools import setup, find_namespace_packages
2
2
 
3
3
  setup(
4
4
  name='brynq_sdk_imanage',
5
- version='1.0.5',
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>=2',
13
+ 'brynq-sdk-brynq>=4,<5',
14
14
  'pandas>=2.2.0,<3.0.0',
15
15
  ],
16
16
  zip_safe=False,
@@ -1,2 +0,0 @@
1
- brynq-sdk-brynq>=2
2
- pandas<3.0.0,>=2.2.0