MCPcopy
hub / github.com/danielgtaylor/python-betterproto / float_field

Function float_field

src/betterproto/__init__.py:267–270  ·  view source on GitHub ↗
(
    number: int, group: Optional[str] = None, optional: bool = False
)

Source from the content-addressed store, hash-verified

265
266
267def float_field(
268 number: int, group: Optional[str] = None, optional: bool = False
269) -> Any:
270 return dataclass_field(number, TYPE_FLOAT, group=group, optional=optional)
271
272
273def double_field(

Callers

nothing calls this directly

Calls 1

dataclass_fieldFunction · 0.85

Tested by

no test coverage detected