Andrii Lahuta

Results 13 comments of Andrii Lahuta

@carltongibson can we reopen this since it's no longer related to #285? I think we can put _sentinel_kwargs_ here and it should just work: https://github.com/django/channels_redis/blob/d946ce2875b2a2efe2c4cbfb14107fd7d7a4a551/channels_redis/core.py#L138

Currently I'm using something like this: ```python from django.test import TestCase from channels.testing import WebsocketCommunicator from project.routing import application class WebsocketTestCase(TestCase): @async_test async def test_auth(self): user = User.objects.create_user(**user_kwargs) self.client.login(username=user.username, password=password)...

@safwanrahman it can be used when implementing a custom `QuerySet` class or searching otherwise pre-filtered queryset.

OCR can be relatively lengthy (especially when multiple languages are loaded), so I'd like to show some kind of progress bar.

Ah. I was playing with it and found `PROGRESS_FUNC2` callback: https://github.com/tesseract-ocr/tesseract/blob/5fdaa479da2c52526dac1281871db5c4bdaff359/src/ccutil/ocrclass.h#L116-L117 I then subclassed `ETEXT_DESC` to hold python callback, so I can call it from `PROGRESS_FUNC2`. It appears to be...

It's also possible to use bluetooth integration with D-Bus API instead. Here's a proof of concept if anyone wants to try. [custom_bluetooth_tracker.zip](https://github.com/home-assistant/core/files/12234436/custom_bluetooth_tracker.zip) Caveats: - Discovery is not implemented, so trackable...

@Duke-Box Yes, just treat it as any other custom component. Unfortunately, I don't think it would work without 'experimental' flag until [this api](https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/doc/adapter-api.txt?id=80107630396d3d3a3984c599e0cb9b015be0499c#n174) moves out of experimental stage. I've tried...

It should behave exactly like the original bluetooth tracker (except for discovery), so it has no UI. For it to work, the bluetooth integration itself should be configured via UI....

@Joeviocoe could you try this version: [custom_bluetooth_tracker.zip](https://github.com/home-assistant/core/files/12305363/custom_bluetooth_tracker.zip) It contains some additional debug statements and should produce at least some debug output. Ideally, the original bluetooth tracker should be disabled in...

Yeah, I've only tried tracking phones with it using built-in RPi adapter, not sure how it works with other configurations (it should though). But it seems that it indeed can't...