-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Growing library size #2677
Copy link
Copy link
Open
Labels
help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Description
Activity
Metadata
Metadata
Assignees
Labels
help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
According to dive, this library is now 79 MB in my Docker image:
This seems excessive for a Python library, and if multiplied by the number of users, it's arguably a serious waste of resources. Based on just the sizes,
clientandaio/clientare mostly duplicates. Under that bothapiandmodelsare huge, their__pycache__are similarly huge. Insidemodels, functions like_get_openapi_to_dict,_to_legacy_item,_to_legacy_value,_to_openapi_valueare basically the same, along with some member methods. Could you please do something to reduce this duplication, and the library size along with it?