itk-dev-shared-components 2.5.0__tar.gz → 2.6.1__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.
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/PKG-INFO +1 -1
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/eflyt/eflyt_case.py +11 -1
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/eflyt/eflyt_search.py +7 -2
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components.egg-info/PKG-INFO +1 -1
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/pyproject.toml +1 -1
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/LICENSE +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/README.md +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/__init__.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/eflyt/__init__.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/eflyt/eflyt_login.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/eflyt/eflyt_util.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/graph/__init__.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/graph/authentication.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/graph/common.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/graph/file.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/graph/mail.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/graph/site.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/kmd_nova/__init__.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/kmd_nova/authentication.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/kmd_nova/cpr.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/kmd_nova/nova_cases.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/kmd_nova/nova_documents.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/kmd_nova/nova_notes.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/kmd_nova/nova_objects.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/kmd_nova/nova_tasks.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/kmd_nova/util.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/misc/__init__.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/misc/address_lookup.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/misc/cpr_util.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/misc/cvr_lookup.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/misc/file_util.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/sap/__init__.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/sap/fmcacov.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/sap/gridview_util.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/sap/multi_session.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/sap/opret_kundekontakt.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/sap/sap_login.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/sap/sap_util.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/sap/tree_util.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/smtp/__init__.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components/smtp/smtp_util.py +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components.egg-info/SOURCES.txt +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components.egg-info/dependency_links.txt +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components.egg-info/requires.txt +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/itk_dev_shared_components.egg-info/top_level.txt +0 -0
- {itk_dev_shared_components-2.5.0 → itk_dev_shared_components-2.6.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: itk_dev_shared_components
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.6.1
|
|
4
4
|
Summary: Shared components to use in RPA projects
|
|
5
5
|
Author-email: ITK Development <itk-rpa@mkb.aarhus.dk>
|
|
6
6
|
Project-URL: Homepage, https://github.com/itk-dev-rpa/itk-dev-shared-components
|
|
@@ -12,6 +12,10 @@ class Case:
|
|
|
12
12
|
case_number: str
|
|
13
13
|
deadline: date | None
|
|
14
14
|
case_types: list[str]
|
|
15
|
+
status: str
|
|
16
|
+
cpr: str
|
|
17
|
+
name: str
|
|
18
|
+
case_worker: str
|
|
15
19
|
|
|
16
20
|
|
|
17
21
|
@dataclass
|
|
@@ -115,4 +119,10 @@ def change_tab(browser: webdriver.Chrome, tab_index: int):
|
|
|
115
119
|
browser: The webdriver browser object.
|
|
116
120
|
tab_index: The zero-based index of the tab to select.
|
|
117
121
|
"""
|
|
118
|
-
|
|
122
|
+
# Use the src of the tab image to determine if the tab needs to be changed
|
|
123
|
+
tab_image = browser.find_element(By.ID, "ctl00_ContentPlaceHolder2_ptFanePerson_ImgJournalMap")
|
|
124
|
+
image_src = tab_image.get_attribute("src")
|
|
125
|
+
current_index = int(image_src[-5]) - 1
|
|
126
|
+
|
|
127
|
+
if current_index != tab_index:
|
|
128
|
+
browser.execute_script(f"__doPostBack('ctl00$ContentPlaceHolder2$ptFanePerson$ImgJournalMap','{tab_index}')")
|
|
@@ -76,9 +76,14 @@ def extract_cases(browser: webdriver.Chrome) -> list[Case]:
|
|
|
76
76
|
# If the case types ends with '...' we need to get the title instead
|
|
77
77
|
if case_types_text.endswith("..."):
|
|
78
78
|
case_types_text = row.find_element(By.XPATH, "td[5]").get_attribute("Title")
|
|
79
|
-
|
|
80
79
|
case_types = case_types_text.split(", ")
|
|
81
|
-
|
|
80
|
+
|
|
81
|
+
status = row.find_element(By.XPATH, "td[6]").text
|
|
82
|
+
cpr = row.find_element(By.XPATH, "td[7]/a").text
|
|
83
|
+
name = row.find_element(By.XPATH, "td[8]").text
|
|
84
|
+
case_worker = row.find_element(By.XPATH, "td[10]").text
|
|
85
|
+
|
|
86
|
+
case = Case(case_number, deadline, case_types, status, cpr, name, case_worker)
|
|
82
87
|
cases.append(case)
|
|
83
88
|
|
|
84
89
|
return cases
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: itk_dev_shared_components
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.6.1
|
|
4
4
|
Summary: Shared components to use in RPA projects
|
|
5
5
|
Author-email: ITK Development <itk-rpa@mkb.aarhus.dk>
|
|
6
6
|
Project-URL: Homepage, https://github.com/itk-dev-rpa/itk-dev-shared-components
|
|
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
|
|
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
|