Skip to content
#

asyncio

Here are 1,685 public repositories matching this topic...

core
majuss
majuss commented Apr 28, 2020

The problem

I copied the arduino integration into custom_components:

cp -R /srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/arduino/ /home/homeassistant/.homeassistant/custom_components/

and made homeassistant the owner:

sudo chown -R homeassistant:homeassistant arduino/

Environment

Latest hass, latest raspbian on Pi 4.

  • Home A
fastapi
sanic
endafarrell
endafarrell commented Apr 14, 2018

I copied the examples/sciencenet_spider.py example and tried to run it using python 3.6 - but:

python sciencenet_spider.py
[2018:04:14 22:21:26] Spider started!
[2018:04:14 22:21:26] Using selector: KqueueSelector
[2018:04:14 22:21:26] Base url: http://blog.sciencenet.cn/
[2018:04:14 22:21:26] Item "Post": 0
[2018:04:14 22:21:26] Requests count: 0
[2018:04:14 22:21:26] Error coun
pierec
pierec commented Sep 13, 2018
  • pulsar version: N/A
  • python version: N/A
  • platform: N/A

Description

It seems that your documentation hosted at https://docs.pulsarweb.org/ is unavailable.

When I try to access it I get the following message:

Error 1014 Ray ID: 4598be0f691559cc • 2018-09-13 07:01:25 UTC
CNAME Cross-User Banned
What happened?

You've requested a page on a website that is par
simingy
simingy commented Apr 14, 2020

Problem

  1. sio.connect() first connects to namespace / before connecting to other namespaces. Subsequent emit() commands are allowed before all namespaces are connected to - causing messages to disappear (due to namespace not connected yet).
    Adding asyncio.sleep(1) before the first emit() seems to fix the problem,

  2. in the documentation https://python-socketio.readthedocs.io/en

usamitysam
usamitysam commented Feb 10, 2018

Thanks for the project!!!! The fact that examples exist is amazingly great. I have a philosophy recommendation for you. The examples exist so you don't have to answer stupid questions. In that spirit of saving you time and effort, you might want to spend a few minutes and adding clean separation in the code, remove command nesting and line splits. Finally consider adding painfully excessive

gyermolenko
gyermolenko commented May 13, 2019

Argument type for many SortedSet commands (for min/max kw) is enforced by isinstance check.
In one place it even has this comment:

if not isinstance(max, bytes):  # FIXME     Why only bytes?
    raise TypeError("max argument must be bytes")

I think it is more convenient (for me as a user) to pass strings inst. of bytes.
Some of these commands are for "lexicographical" op

IgorStauder
IgorStauder commented Nov 21, 2019

bug in README.md when_all_ready() example:

task<> example2()
{
...
// Unpack and handle each result individually once they're all complete.
for (int i = 0; i < 1000; ++i)
{
try
{
>>> std::string& record = tasks[i].result();
should be
std::string& record = resultTasks[i].result();
...
}

LittleEndu
LittleEndu commented Jul 20, 2018

Hello

I was trying to assist someone using aiomysql for the first time. I myself use postgre and asyncpg, so I was relying on the documentation while helping them.

But the examples in the documentation use hard-coded queries or weird ways to escape, something a regular user would never do. Also the use of variables is too heavy. Examples should be clear, every argument of execute should be s

ozturkberkay
ozturkberkay commented Mar 20, 2020

Is your feature request related to a problem? Please describe.
I would like to group the table by a field and apply aggregations. Example SQL:

SELECT SUM(`column_1`)
FROM `table`
WHERE `column_2` = 'something'
GROUP BY `column_3`

Describe the solution you'd like
I'm not familiar with the code-base of this project yet, so I won't be able to propose an implementation.

Improve this page

Add a description, image, and links to the asyncio topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the asyncio topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.