Skip to content

feat(hubble): use fixed domain for hubble api#349

Merged
alaeddine-13 merged 3 commits into
mainfrom
update-hubble-domain
May 19, 2022
Merged

feat(hubble): use fixed domain for hubble api#349
alaeddine-13 merged 3 commits into
mainfrom
update-hubble-domain

Conversation

@mapleeit

Copy link
Copy Markdown
Contributor

Goals:

  • api.jina.ai is unstable sometimes, remove this layer to get better quality. We need to maintain the old domain even we move to new domain anyway, so no worries about writing domain down directly.

Related to https://github.com/jina-ai/hubble/issues/434

@mapleeit mapleeit force-pushed the update-hubble-domain branch 2 times, most recently from e8e06f7 to 616fd9a Compare May 19, 2022 06:43
@codecov

codecov Bot commented May 19, 2022

Copy link
Copy Markdown

Codecov Report

Merging #349 (856e5e1) into main (72aa3b2) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #349      +/-   ##
==========================================
+ Coverage   86.19%   86.20%   +0.01%     
==========================================
  Files         134      134              
  Lines        6331     6323       -8     
==========================================
- Hits         5457     5451       -6     
+ Misses        874      872       -2     
Flag Coverage Δ
docarray 86.20% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
docarray/__init__.py 100.00% <100.00%> (ø)
docarray/array/mixins/io/pushpull.py 88.37% <100.00%> (+1.13%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d8cc379...856e5e1. Read the comment docs.

@hanxiao

hanxiao commented May 19, 2022

Copy link
Copy Markdown
Member

black -S accepts single quote

Avoid several problems caused by unstable api.jina.ai
@mapleeit mapleeit force-pushed the update-hubble-domain branch from 616fd9a to de167c1 Compare May 19, 2022 07:33

@alaeddine-13 alaeddine-13 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, just a small suggestion

Comment thread docarray/array/mixins/io/pushpull.py Outdated
Co-authored-by: AlaeddineAbdessalem <alaeddine-13@live.fr>
@alaeddine-13

alaeddine-13 commented May 19, 2022

Copy link
Copy Markdown
Member

@mapleeit I couldn't provide a suggestion that spans deleted lines, don't accept it directly xd
I guess you need to remove the first line

@mapleeit

mapleeit commented May 19, 2022

Copy link
Copy Markdown
Contributor Author

Done! Thanks for the advice. Fancy python syntax.

@alaeddine-13 alaeddine-13 merged commit f30b7e9 into main May 19, 2022
@alaeddine-13 alaeddine-13 deleted the update-hubble-domain branch May 19, 2022 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants