Hi MelancholyElk85 ,
What happens when you try:input_model = InputModel(project='our_project', name='^running_best_pth$') print(input_model.name)
Sounds good, I'll fix the implementation 🙂
SuccessfulKoala55 It gives the correct name, that is running_best_pth
!
We can either fix the documentation, or make sure we wrap this text accordingly inside the call
I think that's a bug in the interface - the query field itself is a regex field, but the name
argument does not mention that
I think it would be intuitive to have an exact name
or introduce another parameter that regulates whether name
is regex
And when it is a regex, it can return all matched models (e.g. as list) rather than only the last one