Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
2aa6d42
Merge pull request #55 from Boavizta/dev
bdromard Oct 16, 2024
7d8646e
Merge pull request #56 from Boavizta/dev
bdromard Oct 24, 2024
37d403c
Merge pull request #57 from Boavizta/dev
bdromard Oct 28, 2024
0153db1
Merge pull request #61 from Boavizta/dev
bpetit May 8, 2026
502b9c3
chore: preparing release vv0.2.0
bpetit May 8, 2026
2eb7675
chore: preparing release v0.2.0
bpetit May 8, 2026
c296a50
refactor: using dataclasses for units and impact_criteria, typing
bdromard Jul 8, 2026
b03eb76
test: use workloadtime type
bdromard Jul 8, 2026
f7b52fe
feat: use criteria parameter for query route to determinate criteria …
bdromard Jul 8, 2026
62435a9
build: set minimal python version to 3.13
bdromard Jul 9, 2026
92d4d15
refactor: use a method to obtain ratio for value
bdromard Jul 9, 2026
127535d
refactor: use type keyword for new types
bdromard Jul 9, 2026
65e6d28
feat: add all impacts criteria as data
bdromard Jul 9, 2026
4a4db34
feat: add all criteria for embedded impacts metrics in boagent response
bdromard Jul 9, 2026
aaba843
feat: adding criteria query argument in query route
bdromard Jul 10, 2026
aa3e22b
test: integration testing of various use cases for query route with a…
bdromard Jul 10, 2026
75226ab
build: using python 3.13 docker image
bdromard Jul 10, 2026
ba1e1e3
feat: querying all criteria from boaviztapi
bdromard Jul 10, 2026
196750c
test: add simple end-to-end testing via script
bdromard Jul 10, 2026
ade14fa
refactor: less verbose code for querying main criteria
bdromard Jul 10, 2026
4b47f71
feat: handling invalid criteria choice by client
bdromard Jul 15, 2026
a37f4dc
test: add e2e test with verbose parameter set as true
bdromard Jul 15, 2026
0479228
refactor: less verbose code for process class
bdromard Jul 15, 2026
4d734f8
test: add fixture data for get_metrics with all criteria and verbose
bdromard Jul 15, 2026
475df6e
fix: usage of boaviztapi keys for comparative toxicity units impacts …
bdromard Jul 15, 2026
a91f454
refactor: using only values containing correct boavzitapi key formatt…
bdromard Jul 15, 2026
2e99605
feat: metrics route able to return response with all criteria
bdromard Jul 20, 2026
40b6bae
feat: metrics route able to return response with all criteria
bdromard Jul 20, 2026
30bb1ed
refactor: model validation through boaviztapi model for server usage …
bdromard Jul 21, 2026
e320d64
refactor: use f-strings, clean up code
bdromard Jul 21, 2026
c48204b
refactor: simplify code for querying boaviztapi
bdromard Jul 21, 2026
d1d44a9
refactor: configuration server model validation logic
bdromard Jul 22, 2026
9a87819
refactor: handling configuration server model for process_embedded_im…
bdromard Jul 22, 2026
2130453
test: use mock configuration server instead for correct typing
bdromard Jul 22, 2026
c398e5b
ci: update python version to 3.13
bdromard Jul 22, 2026
05cdf1a
test: add location in queries as it is needed to get water usage duri…
bdromard Jul 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.git
venv
.venv
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
test:
strategy:
matrix:
version: ["3.10", "3.11"]
version: ["3.13"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.10.0
rev: 26.5.1
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12-slim
FROM python:3.13-slim

LABEL org.opencontainers.image.authors="open-source@boavizta.org"
LABEL org.opencontainers.image.description="Docker image for Boagent, a local API & environmental impact monitoring tool."
Expand Down
2 changes: 1 addition & 1 deletion boagent/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Define the __all__ variable
__all__ = ["api", "config", "exceptions", "models", "process", "utils"]
__all__ = ["api", "config", "data", "exceptions", "models", "process", "utils", "types"]
Loading
Loading