creating folder from command line prompts warning - suggested method gives error

Description

I did:

So then I tried:

Environment

Fedora Linux

Activity

Show:
Kenneth Daily
October 11, 2019, 11:35 PM

Reviewed this issue, and that latter (that the command line 'store' command says you can use '--type') is not the case. It's only confusing because the documentation states to use a different underlying client function, as noted.

Kenneth Daily
June 13, 2019, 6:36 PM

Got it! Thanks for the clarification. I've been using deprecated myself so I'll keep this issue in mind.

Kimyen Truong
June 13, 2019, 6:14 PM
Kimyen Truong
June 13, 2019, 6:11 PM

FYI, this is the affect of using deprecated with warnings. The function that was deprecated wasn’t being used directly, but the warning still shown. We need to make sure that in the future, we only throw deprecated warnings on functions that is not being used by other functions in the code base.

Kimyen Truong
June 13, 2019, 6:08 PM

syn.createEntity was deprecated, and mark to be removed in version 2.0. In Python client version 2.0, at the very least, we will rename the function to be a private function syn._createEntity and remove the deprecation warning. In the code you linked above, it will be calling syn._createEntity or syn.store instead.

Assignee

Unassigned

Reporter

Kenneth Daily

Labels

Validator

Bruce Hoff

Development Area

None

Release Version History

None

Slack Channel

None

Epic Link

Components

Affects versions

Priority

Major