wcp-library 1.3.5__py3-none-any.whl → 1.3.6__py3-none-any.whl

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.
@@ -64,6 +64,8 @@ class AsyncCredentialManager(ABC):
64
64
  password_info = {'PasswordID': password['PasswordID'], 'UserName': password['UserName'], 'Password': password['Password']}
65
65
  for field in password['GenericFieldInfo']:
66
66
  password_info[field['DisplayName']] = field['Value'].lower() if field['DisplayName'].lower() == 'username' else field['Value']
67
+ if password['OTP']:
68
+ password_info['OTP'] = password['OTP']
67
69
  return password_info
68
70
 
69
71
  async def _publish_new_password(self, data: dict) -> bool:
@@ -60,6 +60,8 @@ class CredentialManager(ABC):
60
60
  password_info = {'PasswordID': password['PasswordID'], 'UserName': password['UserName'], 'Password': password['Password']}
61
61
  for field in password['GenericFieldInfo']:
62
62
  password_info[field['DisplayName']] = field['Value'].lower() if field['DisplayName'].lower() == 'username' else field['Value']
63
+ if password['OTP']:
64
+ password_info['OTP'] = password['OTP']
63
65
  logger.debug("Credential retrieved")
64
66
  return password_info
65
67
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wcp-library
3
- Version: 1.3.5
3
+ Version: 1.3.6
4
4
  Summary: Common utilites for internal development at WCP
5
5
  Home-page: https://github.com/Whitecap-DNA/WCP-Library
6
6
  Author: Mitch-Petersen
@@ -1,7 +1,7 @@
1
1
  wcp_library/__init__.py,sha256=hwLbcu00uI6L_xjXO9-I0YcODl2WtIOkdNLoDcXv7zk,591
2
2
  wcp_library/credentials/__init__.py,sha256=HRmg7mqcATeclIz3lZQjSR4nmK6aY6MK9-QXEYZoFrw,1857
3
- wcp_library/credentials/_credential_manager_asynchronous.py,sha256=XLYZ6XjLU3Cp18cin3BidIBPvjoqqdJ5L7hhueMCfpU,6311
4
- wcp_library/credentials/_credential_manager_synchronous.py,sha256=5QyIYYPM2HUlApdZl6ELypuuCioi6Z-JHwyJWFrwYBs,5685
3
+ wcp_library/credentials/_credential_manager_asynchronous.py,sha256=shdFh1_JG8WUyN4DRhVo5i9d4c9YIL-ca5xhhfkVOZE,6390
4
+ wcp_library/credentials/_credential_manager_synchronous.py,sha256=QUF3OOUgx0gu2PKFykkB69C-Kf_-9lyo2RIVA2JYvyc,5764
5
5
  wcp_library/credentials/api.py,sha256=NZfZcN46-ZVB_-DatR0DLBYAtJxulDlKD2cculzbyXo,2625
6
6
  wcp_library/credentials/ftp.py,sha256=lSjOlfU68j9PsOCaoWJSdjbR1QmjTxjVmSxOpMdMG7Q,2591
7
7
  wcp_library/credentials/internet.py,sha256=z9tihFddTJcX2pt-iHFP_rkCoheLhTdFgn4ksc2sYYE,2239
@@ -18,6 +18,6 @@ wcp_library/sql/__init__.py,sha256=s2psmwkq_ZU23iGWvXjJrLu0hD1fB6CDv6RHcK7y828,1
18
18
  wcp_library/sql/oracle.py,sha256=TGiTC5L5UcM5QcHFajgn43NI8HygOGIEAtLmLbVFp2I,15772
19
19
  wcp_library/sql/postgres.py,sha256=GElSjLDworrRlzA7DLrbcQlW7BqvhgMbvW89v-yZejk,14533
20
20
  wcp_library/time.py,sha256=ktSzhK7SZnGPNXobFexnhFGQAcriLCJQKxnO0fed8fQ,1740
21
- wcp_library-1.3.5.dist-info/METADATA,sha256=hnu1wsVA8QLeWwq7wFNuYu_eZH3R3CqCot1_NWQ4D60,1552
22
- wcp_library-1.3.5.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
23
- wcp_library-1.3.5.dist-info/RECORD,,
21
+ wcp_library-1.3.6.dist-info/METADATA,sha256=4AtGuuDkPHngl78hTA_sOGk4haucvL2HKzmh3w6TKMc,1552
22
+ wcp_library-1.3.6.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
23
+ wcp_library-1.3.6.dist-info/RECORD,,