-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Use urllib.parse.quote to escape special characters #3531
Comments
Can I work on this? |
Hello @tacoelho, It would be very helpful if u could work on this issue. Ask @winstonww for any guidance if needed on this issue. I will assign this issue to both of you. Thanks! |
Feel free to open a PR and link it to this issue. Could you @winstonww provide a nice example of the current behavior and the desired one? |
Hi @tacoelho , thank you for taking up this issue! An example of the current behavior as as follows: doc = Document(uri='https://storage.cloud.google.com/showcase-3d-models/ShapeNetV2/ashcan_trash can_garbage can_wastebin_ash bin_ash-bin_ashbin_dustbin_trash barrel_trash bin_7.glb')
doc.convert_uri_to_buffer() This will raise the following error:
The desired behavior is spaces in the uri will be replaced by |
Hi @tacoelho, was wondering if you're still working on this issue by any chance? Feel free to let us know if you don't have the capacity. We can take over. |
Move this to docarray package if needed |
Currently, converting Documents with uris containing spaces to buffer/blob will not work. It would be great if this logic can be added to jina.
The text was updated successfully, but these errors were encountered: