cwyodmodules 0.3.37__py3-none-any.whl → 0.3.38__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.
- cwyodmodules/batch/utilities/helpers/env_helper.py +1 -1
- cwyodmodules/batch/utilities/helpers/secret_helper.py +3 -3
- {cwyodmodules-0.3.37.dist-info → cwyodmodules-0.3.38.dist-info}/METADATA +1 -1
- {cwyodmodules-0.3.37.dist-info → cwyodmodules-0.3.38.dist-info}/RECORD +7 -7
- {cwyodmodules-0.3.37.dist-info → cwyodmodules-0.3.38.dist-info}/WHEEL +0 -0
- {cwyodmodules-0.3.37.dist-info → cwyodmodules-0.3.38.dist-info}/licenses/LICENSE +0 -0
- {cwyodmodules-0.3.37.dist-info → cwyodmodules-0.3.38.dist-info}/top_level.txt +0 -0
@@ -25,7 +25,7 @@ class EnvHelper:
|
|
25
25
|
cls._instance = instance
|
26
26
|
return cls._instance
|
27
27
|
|
28
|
-
@logger.trace_function(log_execution=
|
28
|
+
@logger.trace_function(log_execution=True, log_args=False, log_result=False)
|
29
29
|
def __load_config(self, **kwargs) -> None:
|
30
30
|
# load_dotenv()
|
31
31
|
|
@@ -30,7 +30,7 @@ class SecretHelper:
|
|
30
30
|
connection_verify=True,
|
31
31
|
)
|
32
32
|
|
33
|
-
@logger.trace_function(log_execution=
|
33
|
+
@logger.trace_function(log_execution=True, log_args=False, log_result=False)
|
34
34
|
def get_secret(self, secret_name: str) -> str:
|
35
35
|
"""
|
36
36
|
Retrieves the value of a secret from the environment variables or Azure Key Vault.
|
@@ -48,7 +48,7 @@ class SecretHelper:
|
|
48
48
|
secret_value = self.secret_client.get_secret(name=secret_name).value
|
49
49
|
return secret_value
|
50
50
|
|
51
|
-
@logger.trace_function(log_execution=
|
51
|
+
@logger.trace_function(log_execution=True, log_args=False, log_result=False)
|
52
52
|
def set_secret(self, secret_name: str, secret_value: str) -> None:
|
53
53
|
"""
|
54
54
|
Sets the value of a secret in Azure Key Vault only if it doesn't exist or has a different value.
|
@@ -76,7 +76,7 @@ class SecretHelper:
|
|
76
76
|
logger.warning(f"Secret {secret_name} has been created")
|
77
77
|
|
78
78
|
|
79
|
-
@logger.trace_function(log_execution=
|
79
|
+
@logger.trace_function(log_execution=True, log_args=False, log_result=False)
|
80
80
|
def get_secret_from_json(self, secret_name: str) -> str:
|
81
81
|
secret_value = self.secret_client.get_secret(secret_name).value
|
82
82
|
return secret_value
|
@@ -37,11 +37,11 @@ cwyodmodules/batch/utilities/helpers/azure_postgres_helper_light_rag.py,sha256=R
|
|
37
37
|
cwyodmodules/batch/utilities/helpers/azure_search_helper.py,sha256=rFqELRU7q0pkDC4xLBLPANxFji2JQ_WlpcZBt-pZgmA,11448
|
38
38
|
cwyodmodules/batch/utilities/helpers/document_chunking_helper.py,sha256=2MZOjW-fHXgYijP3m9O-nizOlk96Yg0axyxT0K6fTnM,725
|
39
39
|
cwyodmodules/batch/utilities/helpers/document_loading_helper.py,sha256=2HBEl3vW-_PKbX5pPntTC_R5eToTk2Qb-q3M4Mt6hCU,603
|
40
|
-
cwyodmodules/batch/utilities/helpers/env_helper.py,sha256=
|
40
|
+
cwyodmodules/batch/utilities/helpers/env_helper.py,sha256=2UOw6Qf-kfWUs9-NXESxIRYFWCqQF1hC3Aix5v3EZP4,16024
|
41
41
|
cwyodmodules/batch/utilities/helpers/lightrag_helper.py,sha256=5DGvwnephNxTXanBlEnNQYtKC_TA-xm4Rz_6AVYqEPE,3979
|
42
42
|
cwyodmodules/batch/utilities/helpers/llm_helper.py,sha256=EeoYDdjEp98vQZ67sM_t36QyicLlJMc-KW9w-5_ZbFA,8416
|
43
43
|
cwyodmodules/batch/utilities/helpers/orchestrator_helper.py,sha256=mCcZyMFG0otnw9gzWd-PYocHmDdFDVg-RT9oDPiDZPk,897
|
44
|
-
cwyodmodules/batch/utilities/helpers/secret_helper.py,sha256=
|
44
|
+
cwyodmodules/batch/utilities/helpers/secret_helper.py,sha256=9QTL9JEtd0SAUj4XHUWDGcoer6XrIoCsfLxIEO2AW2M,2890
|
45
45
|
cwyodmodules/batch/utilities/helpers/config/assistant_strategy.py,sha256=uT8h646zEURU9x8oDOH7pWoZKb0Mw6dA2nJtA2M-ufg,171
|
46
46
|
cwyodmodules/batch/utilities/helpers/config/config_helper.py,sha256=XV4MwE_rtbRNa5YRf6NUkfUmORCTbZSp4memGw-rbZU,14911
|
47
47
|
cwyodmodules/batch/utilities/helpers/config/conversation_flow.py,sha256=4nP8a-I-sME5-2unzWWBNpTzWdfpfc5_EAYU6Pn6LAQ,94
|
@@ -109,8 +109,8 @@ cwyodmodules/graphrag/query/generate.py,sha256=xBnZs2U9xFWtPk4AfAZgYKbHdcxNcIO6Q
|
|
109
109
|
cwyodmodules/graphrag/query/graph_search.py,sha256=95h3ecSWx4864XgKABtG0fh3Nk8HkqJVzoCrO8daJ-Y,7724
|
110
110
|
cwyodmodules/graphrag/query/types.py,sha256=1Iq1dp4I4a56_cuFjOZ0NTgd0A2_MpVFznp_czgt6cI,617
|
111
111
|
cwyodmodules/graphrag/query/vector_search.py,sha256=9Gwu9LPjtoAYUU8WKqCvbCHAIg3dpk71reoYd1scLnQ,1807
|
112
|
-
cwyodmodules-0.3.
|
113
|
-
cwyodmodules-0.3.
|
114
|
-
cwyodmodules-0.3.
|
115
|
-
cwyodmodules-0.3.
|
116
|
-
cwyodmodules-0.3.
|
112
|
+
cwyodmodules-0.3.38.dist-info/licenses/LICENSE,sha256=UqBDTipijsSW2ZSOXyTZnMsXmLoEHTgNEM0tL4g-Sso,1150
|
113
|
+
cwyodmodules-0.3.38.dist-info/METADATA,sha256=do9m43WNiZ_RtIgLWPyj-5mMUOvKW64aM-e7adTU_qw,2002
|
114
|
+
cwyodmodules-0.3.38.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
115
|
+
cwyodmodules-0.3.38.dist-info/top_level.txt,sha256=99RENLbkdRX-qpJvsxZ5AfmTL5s6shSaKOWYpz1vwzg,13
|
116
|
+
cwyodmodules-0.3.38.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|