Skip to content

Commit 2099be1

Browse files
app contect py file change
1 parent 1c53d92 commit 2099be1

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/ContentProcessor/src/libs/application/application_context.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Copyright (c) Microsoft Corporation.
22
# Licensed under the MIT License.
3+
from typing import Any
4+
35
from helpers.azure_credential_utils import get_azure_credential
46

57
from libs.application.application_configuration import AppConfiguration
@@ -13,9 +15,10 @@ class AppContext(AppModelBase):
1315
"""
1416

1517
configuration: AppConfiguration = None
18+
credential: Any = None # Azure credential object
1619

1720
def set_configuration(self, configuration: AppConfiguration):
1821
self.configuration = configuration
1922

20-
def set_credential(self, credential: get_azure_credential):
23+
def set_credential(self, credential: Any):
2124
self.credential = credential

0 commit comments

Comments
 (0)