File tree Expand file tree Collapse file tree 6 files changed +1115
-6
lines changed Expand file tree Collapse file tree 6 files changed +1115
-6
lines changed Original file line number Diff line number Diff line change 2828 key : ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
2929
3030 - name : Install dependencies
31- run : uv sync --extra dev --extra test --extra postgres
31+ run : uv sync --extra dev --extra test
3232
3333 - name : Run code quality checks
3434 run : |
5353 run : uv python install 3.12
5454
5555 - name : Install dependencies
56- run : uv sync --extra dev --extra test --extra postgres
56+ run : uv sync --extra dev --extra test
5757
5858 - name : Run tests with coverage
5959 run : |
Original file line number Diff line number Diff line change @@ -58,13 +58,23 @@ sources:
5858 database : postgis
5959 username : username
6060 password : password
61+
62+ # Outputs: Define where notifications are sent
63+ outputs :
64+ - type : mqtt
65+ config :
66+ broker_host : localhost
67+ broker_port : 1883
6168` ` `
6269
6370### Available Plugins
6471
6572#### Sources
6673- ` postgres`: Monitor PostgreSQL/pgSTAC database changes
6774
75+ # ### Outputs
76+ - `mqtt` : Publish events to MQTT broker
77+
6878# # Testing
6979
7080Install test dependencies and run tests with `uv` :
Original file line number Diff line number Diff line change 1+ """
2+ Outputs plugins.
3+
4+ """
5+
6+ from .mqtt import MQTTAdapter , MQTTConfig
7+
8+ __all__ = [
9+ "MQTTAdapter" ,
10+ "MQTTConfig" ,
11+ ]
You can’t perform that action at this time.
0 commit comments