Skip to content

Commit

Permalink
run plugins on 'pio' (and cache future calls). This means 3p users co…
Browse files Browse the repository at this point in the history
…uld can add calibrations
  • Loading branch information
CamDavidsonPilon committed Jan 14, 2025
1 parent 93179f0 commit aa03c40
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pioreactor/cli/pio.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from msgspec.json import encode as dumps

from pioreactor import exc
from pioreactor import plugin_management
from pioreactor import whoami
from pioreactor.cli.lazy_group import LazyGroup
from pioreactor.config import config
Expand Down Expand Up @@ -70,8 +71,6 @@ def pio(ctx) -> None:
raise SystemError("Don't run as root!")

# load plugins
from pioreactor import plugin_management

plugin_management.get_plugins()


Expand Down

0 comments on commit aa03c40

Please sign in to comment.