You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This doesn't do what is expected as it is evaluated during the import of the file.
The simple solutions would be to use default_factory with Operations() however this relies on global state that isn't present in DiracX so it's not a good idea. The best solution probably requires a bit more thought.
The text was updated successfully, but these errors were encountered:
The new
BaseJobDescriptionModel
usesOperations()
as part of the definition of a class, e.g.DIRAC/src/DIRAC/WorkloadManagementSystem/Utilities/JobModel.py
Line 18 in 9475045
This doesn't do what is expected as it is evaluated during the import of the file.
The simple solutions would be to use
default_factory
withOperations()
however this relies on global state that isn't present in DiracX so it's not a good idea. The best solution probably requires a bit more thought.The text was updated successfully, but these errors were encountered: