Skip to content

feat: add login logout proxy methods#697

Merged
JoanFM merged 16 commits intomainfrom
feat-login-logout
Nov 2, 2022
Merged

feat: add login logout proxy methods#697
JoanFM merged 16 commits intomainfrom
feat-login-logout

Conversation

@alaeddine-13
Copy link
Copy Markdown
Member

@alaeddine-13 alaeddine-13 commented Oct 27, 2022

Add login/logout methods in order to clarify login procedure while using docarray
closes: #696

should be merged after jina-ai/jina-hubble-sdk#96

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 27, 2022

Codecov Report

Merging #697 (68563ae) into main (92cc8b3) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #697      +/-   ##
==========================================
- Coverage   88.10%   88.08%   -0.02%     
==========================================
  Files         133      133              
  Lines        6538     6538              
==========================================
- Hits         5760     5759       -1     
- Misses        778      779       +1     
Flag Coverage Δ
docarray 88.08% <ø> (-0.02%) ⬇️

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

Impacted Files Coverage Δ
docarray/array/storage/weaviate/find.py 86.66% <0.00%> (-1.34%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

hubble.logout()


def notebook_login(force: bool = False):
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.

wait because hubble-sdk is working on a feature to autodetect it from notebook

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yes aware of it

Copy link
Copy Markdown
Contributor

@NicholasDunham NicholasDunham left a comment

Choose a reason for hiding this comment

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

Looks good overall; I made some minor wording changes. One usage note: login is a noun or adjective; log in is a verb.

Co-authored-by: Nicholas Dunham <[email protected]>
Signed-off-by: AlaeddineAbdessalem <[email protected]>
@alaeddine-13
Copy link
Copy Markdown
Member Author

Looks good overall; I made some minor wording changes. One usage note: login is a noun or adjective; log in is a verb.

thanks for the feedback, I applied your suggestions

@alaeddine-13 alaeddine-13 marked this pull request as ready for review October 31, 2022 15:14
@JohannesMessner
Copy link
Copy Markdown
Member

JohannesMessner commented Oct 31, 2022

image
this fire emoji looks a bit mis-aligned

Co-authored-by: Johannes Messner <[email protected]>
Signed-off-by: AlaeddineAbdessalem <[email protected]>
@alaeddine-13
Copy link
Copy Markdown
Member Author

alaeddine-13 commented Oct 31, 2022

image this fire emoji looks a bit mis-aligned

I changed it with the cloud emoji

@github-actions
Copy link
Copy Markdown

github-actions bot commented Nov 1, 2022

📝 Docs are deployed on https://ft-feat-login-logout--jina-docs.netlify.app 🎉

@JoanFM JoanFM merged commit c2e6f7b into main Nov 2, 2022
@JoanFM JoanFM deleted the feat-login-logout branch November 2, 2022 12:47
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.

clarify login mechanism in docarray

4 participants