Thanks for your question.
I'd like to clarify your question: when you run
can you see the datasource you created in the output?
E.g. if I created a datasource with canonical_name = "test", by running the line above I'd see the output like this:
If you do get such output and you want to filter out the needed datasource by its canonical name from other datasources, you could use list comprehension, e.g.:
[x for x in datarobot.DataSource.list() if x.canonical_name == 'your_datasource_name']
Let me know if it helps.