Coverage for gws-app / gws / plugin / model_value / static / __init__.py: 0%
10 statements
« prev ^ index » next coverage.py v7.13.4, created at 2026-03-03 10:12 +0100
« prev ^ index » next coverage.py v7.13.4, created at 2026-03-03 10:12 +0100
1"""Static value."""
3from typing import Any
6import gws
7import gws.base.model.value
9gws.ext.new.modelValue('static')
12class Config(gws.base.model.value.Config):
13 """Static value configuration."""
15 value: Any
16 """Static value to return."""
19class Object(gws.base.model.value.Object):
20 def compute(self, field, feature, mc):
21 return self.cfg('value')