| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| fragment:bytes | ||
| userinfo:bytes | ||
|
|
||
| def parse_url(url:Union[bytes, bytearray, memoryview, array]) -> URL: |
There was a problem hiding this comment.
I think you should add spaces after colons for type annotations
Sorry, something went wrong.
|
On Wed, Jul 17, 2024 at 5:11 AM David Grigorenko ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In httptools/parser/url_parser.pyi
<#100 (comment)>:
> @@ -0,0 +1,29 @@
+from typing import Union
+from array import array
+
+class URL:
+ schema:bytes
+ host:bytes
+ port:int
+ path:bytes
+ query:bytes
+ fragment:bytes
+ userinfo:bytes
+
+def parse_url(url:Union[bytes, bytearray, memoryview, array]) -> URL:
I think you should add spaces after colons for type annotations
—
Reply to this email directly, view it on GitHub
<#100 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3K7GGVIXG426I4JPGQSNXDZMY7MVAVCNFSM6AAAAABKCSKGNSVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDCOBSGQ4TAMBXGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
Thanks for your input I will make sure that I add that in.
|
Sorry, something went wrong.
unblock upstream PR
|
@DABND19 could you take a look? thanks |
Sorry, something went wrong.
Hi! I am not the maintainer of this repository, I just left my comments on this pull request :) |
Sorry, something went wrong.
|
thanks for the help. I was off doing other things that I had forgotten about this completely. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
I felt the need to add static type-checking to this library in order to help other programmers with using this library. I hope this pull request will help out a few people with using this library.