__init__
PYL-W0201170 _request_timeout=_request_timeout,
171 )
172
173 self.last_response = response_data174
175 return_data = response_data
176 if _preload_content:
Defining an instance attribute outside __init__
affects the readability of code. It is expected to find all the attributes an instance may have by reading its __init__
method. If there is a need to initialize attribute via sub-initialization methods, it is recommended to assign attributes to None
in the init then call the sub-initialization methods.