How Do You Handle Import Requests in Your Projects? or What’s the Best Way to Manage Import Requests

22 Replies, 1971 Views

Pro tip: Use `requests.Session()` with headers and auth pre-set. Saves so much boilerplate.

Also, `urllib3.disable_warnings()` if SSL certs drive you nuts.

Lazy-loading? Only if startup time matters. Otherwise, YAGNI.

Messages In This Thread



Users browsing this thread: 1 Guest(s)