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
with InfluxDBClient.from_config_file("conf/influx.ini") as _client:
with _client.write_api(write_options=WriteOptions(batch_size=5000,
flush_interval=10_000,
jitter_interval=2_000,
retry_interval=5_000,
max_retries=5,
max_retry_delay=30_000,
exponential_base=2,
)) as _write_client:
Expected behavior
Expect pylint to not show me any problem in the code.
_base.py file
don't have __enter__/ __exit__
Actual behavior
Pylint will complain
Context manager '_BaseClient' doesn't implement enter and exit.pylint(not-context-manager)
Additional info
The text was updated successfully, but these errors were encountered:
Specifications
Code sample to reproduce problem
Expected behavior
Expect pylint to not show me any problem in the code.
Actual behavior
Pylint will complain
Context manager '_BaseClient' doesn't implement enter and exit.pylint(not-context-manager)
Additional info
The text was updated successfully, but these errors were encountered: