prefect.types
validate_set_T_from_delim_string(value, type_, delim=None)
"no-info" before validator useful in scooping env vars
e.g. PREFECT_CLIENT_RETRY_EXTRA_CODES=429,502,503
-> {429, 502, 503}
e.g. PREFECT_CLIENT_RETRY_EXTRA_CODES=429
-> {429}
Source code in src/prefect/types/__init__.py
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 |
|