by divbzero · 1y ago · 0 comments
1. Standard library imports.
2. Related third party imports.
3. Local application/library specific imports.
https://peps.python.org/pep-0008/#imports
Based on the examples in PEP 810, I suppose each group of regular imports can be followed by a group of lazy imports?
import os
import sys
lazy import json
import fastapi
lazy import numpy
import myapi
import mymodels
lazy import myutils
...No comments yet.