-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Instead of this
cf = ChannelFinderClient(BaseURL = 'http://channelfinder.nsls2.bnl.gov:8080/ChannelFinder', username='boss', password='1234')
# set one tag
tag = Tag('example1', 'vioc')
cf.set(tag=tag)
# set a set of tags
tags = [Tag('example2', 'vioc'), Tag('example3', 'vioc'), Tag('example4', 'vioc'), Tag('example5', 'vioc')]
cf.set(tags=tags)
Can we move usergroup "vioc" into ChannelFinderClient Creating and using default group when not provided:
cf = ChannelFinderClient(BaseURL = 'http://channelfinder.nsls2.bnl.gov:8080/ChannelFinder', username='boss', password='1234', groupname="vioc")
# set one tag
tag = Tag('example1')
cf.set(tag=tag)
# set a set of tags
tags = [Tag('example2'), Tag('example3'), Tag('example4'), Tag('example5')]
cf.set(tags=tags)
Most of the time, I do not care about my groupname or I do not even know my default group name.
Metadata
Metadata
Assignees
Labels
No labels