ActivitiesType incomplete?
The _process_activities()
method in the LogbookServiceClient
supports passing the activities as strings:
https://gitlab.cern.ch/scripting-tools/pylogbook/-/blob/master/pylogbook/_low_level_client.py#L242
But this is not exposed in the high-level Client:
https://gitlab.cern.ch/scripting-tools/pylogbook/-/blob/master/pylogbook/_client.py#L67
Nor in the ActivitiesType definition:
https://gitlab.cern.ch/scripting-tools/pylogbook/-/blob/master/pylogbook/_activity_names.py#L16
Although if you pass a string it does work...
Actually I am not sure why the _convert_to_activities_ids()
method of the Client
is needed as the same processing is re-done in the LogbookServiceClient
.
Edited by Tom Levens