You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During coding I frequently run into the problem that class names are not unique, e.g. Property and Location are defined multiple times. This leads to confusion and requires aliasing the classes whenever two classes of the same name are imported into the same module.
Could you rename them and give them more meaningful names?
E.g. the Property class in traveltimepy/dto/responses/time_filter.py could be renamed to TimeFilterResultProperties (as in fact it contains multiple different properties, not just one property).
Identically the Locationclass could become a TimeFilterLocationResult``.
Kind regards,
The text was updated successfully, but these errors were encountered:
Hi!
During coding I frequently run into the problem that class names are not unique, e.g.
Property
andLocation
are defined multiple times. This leads to confusion and requires aliasing the classes whenever two classes of the same name are imported into the same module.Could you rename them and give them more meaningful names?
E.g. the
Property
class intraveltimepy/dto/responses/time_filter.py
could be renamed to TimeFilterResultProperties (as in fact it contains multiple different properties, not just one property).Identically the
Location
class could become a TimeFilterLocationResult``.Kind regards,
The text was updated successfully, but these errors were encountered: