potentially unnecessary class inheritance in the ClientInfo class #481
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: cleanup
An internal cleanup or hygiene concern.
I noticed that there are two implementations of the
ClientInfo
class inside the api_core repo. One in google/api_core/client_info.py and one in google/api_core/gapic_v1/client_info.py. TheClientInfo
class in the gapic_v1 directory inherits from theClientInfo
class in the parent directory, and it appears that there are no other references to theto_user_agent
function except for its invocation inClientInfo.to_grpc_metadata
ingapic_v1/client_info.py
. Could this function and other member variables in the parent class be folded into the child class?The text was updated successfully, but these errors were encountered: