Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getVariable does not return a Variable #155

Closed
Affie opened this issue Aug 29, 2022 · 1 comment · Fixed by #221
Closed

getVariable does not return a Variable #155

Affie opened this issue Aug 29, 2022 · 1 comment · Fixed by #221
Assignees
Milestone

Comments

@Affie
Copy link
Member

Affie commented Aug 29, 2022

I expected getVariable to return a Variable and not a Dict:

julia> getVariable(client, context, "x0") |> fetch
Dict{String, Any} with 9 entries...

I want to be able to do this:

v = getVariable(client, context, "x0") |> fetch
#update something in v....
updateVariable(client, context, "x0", v)
@jim-hill-r
Copy link
Contributor

Should be okay. Just need to build constructors based on the Dict. The raw data coming from API is Dict.

@Affie Affie self-assigned this Apr 19, 2023
@Affie Affie added this to the v0.6.0 milestone Apr 19, 2023
@Affie Affie linked a pull request Apr 19, 2023 that will close this issue
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants