Open MeltyBot opened 2 years ago
This has been marked as stale because it is unassigned, and has not had recent activity. It will be closed after 21 days if no further activity occurs. If this should never go stale, please add the evergreen
label, or request that it be added.
Still relevant
Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/3508
Originally created by @edgarrmondragon on 2022-05-19 01:16:39
Problem to solve
Allow developers to declare plugins with numeric settings that don't really fit any of the currently supported types.
Target audience
Plugin developers that require numeric settings.
Further details
One example that comes to mind is Unix timestamps with decimal precision.
Proposal
Meltano currently supports the following setting types:
A
decimal
type, cast to Python'sdecimal.Decimal
is easy to add. Alternatives to thedecimal
name are:real
,number
,numeric
.What does success look like, and how can we measure that?
A new setting kind with support for
Regression test
Links / references
SettingKind
enum: https://gitlab.com/meltano/meltano/-/blob/6d96c9bc9ec5610d87dc01d568bbdb3b162210a4/src/meltano/core/setting_definition.py#L62-76