Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified arlo object to make smarter HTTP requests for an async envir… #13445

Closed
wants to merge 3 commits into from

Conversation

mwd102
Copy link

@mwd102 mwd102 commented Mar 25, 2018

…onment (conn pool, blocking)

Description:

Related issue (if applicable): fixes #13176

Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#<home-assistant.github.io PR number goes here>

Example entry for configuration.yaml (if applicable):

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • New dependencies have been added to the REQUIREMENTS variable (example).
  • New dependencies are only imported inside functions that use them (example).
  • New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
  • New files were added to .coveragerc.

If the code does not interact with devices:

  • Tests have been added to verify that the new code works.

@homeassistant
Copy link
Contributor

Hi @mwd102,

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@@ -43,6 +44,7 @@ def setup(hass, config):
from pyarlo import PyArlo

arlo = PyArlo(username, password, preload=False)
arlo.session.mount('https://',HTTPAdapter(pool_maxsize=10,pool_block=True))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing whitespace after ','
line too long (83 > 79 characters)
trailing whitespace

@@ -43,6 +44,8 @@ def setup(hass, config):
from pyarlo import PyArlo

arlo = PyArlo(username, password, preload=False)
arlo.session.mount('https://',
HTTPAdapter(pool_maxsize=10, pool_block=True))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

continuation line under-indented for visual indent

@balloob
Copy link
Member

balloob commented Mar 25, 2018

No description 🤔

@balloob
Copy link
Member

balloob commented Mar 25, 2018

This also looks like something that needs to be fixed upstream in the pyarlo package.

@mwd102
Copy link
Author

mwd102 commented Mar 25, 2018

Ok. This was the related issue #13176

@balloob
Copy link
Member

balloob commented May 1, 2018

We should fix this upstream. If upstream package is dead as the other issue describes, we should switch package to one with an active maintainer.

@balloob balloob closed this May 1, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Sep 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Miscellaneous Arlo warnings and errors
4 participants