SwissOpenEM / ScopeMArchiver

0 stars 0 forks source link

[Bug] Remove SecretStr from task/flow parameters #93

Open phwissmann opened 3 months ago

phwissmann commented 3 months ago

Describe the bug Pydantic.SecretStr gets logged in the parameters of a task. The scicat token is currently passed as a SecretStr to the functions implementing it. Tasks should either retrieve the token from Scicat (should be cashed by the task anyway) or use a block to store the token.