Skip to content
This repository was archived by the owner on Aug 15, 2019. It is now read-only.

Add tf.io.http and deprecate tf.io.browserHTTPRequest #1684

Merged
merged 7 commits into from
Apr 22, 2019
Merged

Add tf.io.http and deprecate tf.io.browserHTTPRequest #1684

merged 7 commits into from
Apr 22, 2019

Conversation

nsthorat
Copy link
Contributor

@nsthorat nsthorat commented Apr 18, 2019

tf.io.http supports node and the browser as well as overriding the global fetch and using it.

Node will use this registry instead of registering its own.


This change is Reviewable

@nsthorat nsthorat requested review from caisq and dsmilkov April 18, 2019 14:41
Copy link
Contributor

@dsmilkov dsmilkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 3 of 3 files at r1.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @caisq and @dsmilkov)

@nsthorat nsthorat changed the title Add tf.io.httpRequest and deprecate tf.io.browserHTTPRequest Add tf.io.http and deprecate tf.io.browserHTTPRequest Apr 18, 2019
nsthorat pushed a commit to tensorflow/tfjs-node that referenced this pull request Apr 19, 2019
INTERNAL
- Update to 1.1
- Remove registering a node io http handler. This is handled entirely by core now. I'll deprecate nodeHTTPRequest when tensorflow/tfjs-core#1684 lands.
Copy link
Collaborator

@caisq caisq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: :shipit: complete! 2 of 1 approvals obtained (waiting on @caisq and @nsthorat)


src/io/http.ts, line 244 at r2 (raw file):

http

nit: http -> http

Copy link
Contributor Author

@nsthorat nsthorat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: :shipit: complete! 2 of 1 approvals obtained (waiting on @caisq)


src/io/http.ts, line 244 at r2 (raw file):

Previously, caisq (Shanqing Cai) wrote…
http

nit: http -> http

Done.

@nsthorat nsthorat merged commit a6dbb3b into master Apr 22, 2019
@nsthorat nsthorat deleted the http branch April 22, 2019 14:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants