Unexpected return object type when syn.store'ing a Table

Description

If I syn.get a File, I get a synapseclient.entity.File
If I syn.store a file in my file system, I also get a synapseclient.entity.File in return

If I syn.get a Table, I get a synapseclient.table.Schema
But if I syn.store a Table, I get a synapseclient.table.CsvFileTable in return

This isn't intuitive to me. Other than the Synapse ID of the newly created table, you would expect to be able to access the Column IDs somewhere in the return object. There is a `schema` property, but it's NULL.

Environment

None

Activity

Show:
Kimyen Truong
April 24, 2019, 5:45 PM
Kimyen Truong
April 24, 2019, 5:44 PM

Thanks for creating these issues. Please keep them coming. I will be talking to about these soon. So if there are more usability/ consistency related problems, and no existing Jira for them yet, please create them. Also, feel free to label them with Usability and Consistency. It helps us find these Jira ticket and have a collective view into the Python client current state of usability and consistency.

Assignee

Unassigned

Reporter

Phil Snyder

Validator

Meredith Slota

Development Area

None

Release Version History

None

Slack Channel

None

Epic Link

Components

Priority

Major