Skip to content

Conversation

@Marenz
Copy link
Contributor

@Marenz Marenz commented Jan 29, 2025

No description provided.

@Marenz Marenz requested review from a team as code owners January 29, 2025 10:03
@github-actions github-actions bot added part:docs Affects the documentation part:tests Affects the unit, integration and performance (benchmarks) tests part:cli Affects the command-line interface part:dispatcher labels Jan 29, 2025
llucax
llucax previously approved these changes Jan 29, 2025
Comment on lines 410 to 411
# Required for client.create
if not kwargs.get("duration"):
if "duration" not in kwargs:
kwargs["duration"] = None
Copy link
Contributor

Choose a reason for hiding this comment

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

If you are a performance freak you can avoid the double lookup by using kwargs.setdefault("duration", None) (you can even omit None, as it is the default default, but maybe that's just too obscure :P).

Copy link
Contributor

Choose a reason for hiding this comment

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

If you are a performance freak

Rabbit vs Tortoise vs Python

@github-actions github-actions bot added the part:test-utils Affects the test utilities label Jan 29, 2025
@Marenz Marenz requested a review from llucax January 29, 2025 14:01
@Marenz Marenz added this pull request to the merge queue Jan 29, 2025
Merged via the queue into frequenz-floss:v0.x.x with commit bf7f91c Jan 29, 2025
14 checks passed
@Marenz Marenz deleted the fix_0_issues branch January 29, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:cli Affects the command-line interface part:dispatcher part:docs Affects the documentation part:test-utils Affects the test utilities part:tests Affects the unit, integration and performance (benchmarks) tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants