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

Add Async Feature #171

Merged
merged 3 commits into from
Jun 27, 2023
Merged

Add Async Feature #171

merged 3 commits into from
Jun 27, 2023

Conversation

JettChenT
Copy link
Owner

With parallel enabled by default(except for RTSP cameras) for now, scanning should be much faster!

@JettChenT JettChenT merged commit b41d25d into master Jun 27, 2023
2 checks passed
if tag:
tags = self.tag_image(cam.get_image(entry))
for t in tags:
output(f"|[green]{t}[/green]|", end=" ")

Check failure

Code scanning / CodeQL

Wrong name for an argument in a call Error

Keyword argument 'end' is not a supported parameter name of
function Scanner.scan_one.output
.
for t in tags:
output(f"|[green]{t}[/green]|", end=" ")
if len(tags) == 0:
output("[i green]no description[i green]", end="")

Check failure

Code scanning / CodeQL

Wrong name for an argument in a call Error

Keyword argument 'end' is not a supported parameter name of
function Scanner.scan_one.output
.
@@ -67,6 +68,7 @@
) -> None:
super().__init__(query, camera_type)
self.stream_url_scheme = stream_url_scheme
self.allow_parallel = False

Check warning

Code scanning / CodeQL

Overwriting attribute in super-class or sub-class Warning

Assignment overwrites attribute allow_parallel, which was previously defined in superclass
Camera
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant