-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use different deserialization method in XCom init_on_load (#12327)
The init_on_load method used deserialize_value method which in case of custom XCom backends may perform requests to external services (for example downloading file from buckets). This is problematic because wherever we query XCom the resuest would be send (for example when listing XCom in webui). This PR proposes implementing orm_deserialize_value which allows overriding this behavior. By default we use BaseXCom.deserialize_value. closes: #12315
- Loading branch information
Showing
4 changed files
with
43 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -995,6 +995,7 @@ openfaas | |
oper | ||
optimise | ||
ora | ||
orm | ||
orchestrator | ||
orgtbl | ||
os | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters