ukaea / UDA

Universal Data Access library to provide data over the network in a unified data object.
https://ukaea.github.io/UDA/
Apache License 2.0
11 stars 4 forks source link

Add default empty string as source argument #9

Closed tobyjamez closed 1 year ago

tobyjamez commented 1 year ago

Removes the need to run:

client.get("func::func()", "") instead, allowing: client.get("func::func()") to perform the same functionality as before. client.get("func::func()", "") is still valid and runs as before, but the spurious empty string as second argument is no longer necessary.

This has no impact on the ability to pass a string as the second argument.

client.get("signal", "source") is still valid, as it always was. client.get("signal", source="source") is also valid, and also always was.