Skip to content

Conversation

@NHDaly
Copy link
Member

@NHDaly NHDaly commented Mar 29, 2022

Merges into #17 .

@NHDaly NHDaly requested a review from vilterp March 29, 2022 21:13
@NHDaly NHDaly force-pushed the nhd-v2-txns-inputs branch from a7103c8 to 8d7a12f Compare March 30, 2022 23:33
@NHDaly NHDaly merged commit ec71b92 into nhd-v2-txns Mar 30, 2022
@NHDaly NHDaly deleted the nhd-v2-txns-inputs branch March 30, 2022 23:33
NHDaly added a commit that referenced this pull request Mar 31, 2022
)

* Support v2 "async" transactions returning multipart Arrow responses

Part 1: WIP basic GET/PUT calls for the v2 API.

* Parse the MultiPartForms + Arrow results into Arrow.Tables[]

* Add tests for v2 async/sync responses

* Update src/api.jl

* Add support for v1_inputs to v2-style exec :) (#23)

* Add support for v1_inputs to v2-style exec :)

* Adjust to latest /problems endpoint implementation from frontend

* Better comment + version patch on parse_multipart_form

* clarify test

* Rename exec to exec_async

* Fixups:

- support empty responses
- export the new names
- add an "is finished" function

* Delete the struct ResultPhysicalRelation, and just return a pair

* prefer haskey

* Switch back to returning a Dict, since i think it's more normal.

* Add examples/exec_async.jl:

```bash
$ julia --proj examples/exec_async.jl "nhd-test-1" "nhd-s" "def x = 1 def x = x+1 def output = x"
Transaction is created...
JSON3.Object{Vector{UInt8}, Vector{UInt64}} with 2 entries:
  :id => "c616a8ae-3be2-0d51-fb0e-b7f862bc367d"
  :state => "CREATED"
```

* Fix bug in transaction_is_done after switching to dicts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant