|
|
|
|
|
by Elucalidavah
325 days ago
|
|
> dependencies = ["httpx"] I heavily recommend writing a known working version in there, i.e. `"httpx~=0.27.2"`, which, in the best case, would allow fixes and security patches (e.g. when httpx 0.27.3 releases), and, in the worst case, would let you change to `~=` to `==` in case httpx manages to break the backwards compatibility with a patch release. And, of course, always use `if __name__ == "__main__":`, so that you can e.g. run an import check and doctests and stuff in it. |
|