We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c53d92 commit 2099be1Copy full SHA for 2099be1
1 file changed
src/ContentProcessor/src/libs/application/application_context.py
@@ -1,5 +1,7 @@
1
# Copyright (c) Microsoft Corporation.
2
# Licensed under the MIT License.
3
+from typing import Any
4
+
5
from helpers.azure_credential_utils import get_azure_credential
6
7
from libs.application.application_configuration import AppConfiguration
@@ -13,9 +15,10 @@ class AppContext(AppModelBase):
13
15
"""
14
16
17
configuration: AppConfiguration = None
18
+ credential: Any = None # Azure credential object
19
20
def set_configuration(self, configuration: AppConfiguration):
21
self.configuration = configuration
22
- def set_credential(self, credential: get_azure_credential):
23
+ def set_credential(self, credential: Any):
24
self.credential = credential
0 commit comments