diff --git a/fractal/__init__.py b/fractal/__init__.py index e4085ac..08c9318 100644 --- a/fractal/__init__.py +++ b/fractal/__init__.py @@ -1,6 +1,6 @@ """Fractal is a scaffolding toolkit for building SOLID logic for your Python applications.""" -__version__ = "5.2.2" +__version__ = "5.3.0" from abc import ABC diff --git a/fractal/contrib/fastapi/routers/default.py b/fractal/contrib/fastapi/routers/default.py index 7f7f0c3..9cf3ba0 100644 --- a/fractal/contrib/fastapi/routers/default.py +++ b/fractal/contrib/fastapi/routers/default.py @@ -138,6 +138,7 @@ def get_entity( entity_id=str(entity_id), account_id=str(kwargs.get("account")), specification=specification, + **kwargs, ) def add_entity( @@ -291,11 +292,13 @@ def get_entity( method="get", ) ), + refresh: bool = False, ): return router_service_class().get_entity( entity_id=entity_id, specification=payload.specification, **payload.asdict(), + refresh=refresh, ) @router.put( diff --git a/pyproject.toml b/pyproject.toml index a16a258..a0167e8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "fractal-toolkit" -version = "5.2.2" +version = "5.3.0" description = "Fractal is a scaffolding toolkit for building SOLID logic for your Python applications." authors = ["Douwe van der Meij "]