Closed nsheff closed 4 years ago
since whatever we decide now we'll be stuck with, maybe we should think about this for a minute. Should we have something in there about 'file' instead of 'input', for the ones that require files?
Maybe: required_files
?
I'm also thinking maybe the attr
/attrs
thing should go; it's sort of redundant, right? The JSON schema doesn't use required_attrs
, it just says required:
... it's self explanatory that it's referring to attributes.
So, to summarize, you can specify 3 things in a PEP schema:
required
-- JSON Schema built-in; these attributes must be set.files
-- eido feature, these attributes point to files that may or may not exist.required_files
-- eido feature; these attributes must point to a file that exists.@afrendeiro any comments?
Yep, simply required
and required_files
would be good.
went with required
, required_files
, and files
.
The current eido dev docs say:
What should we name these?
required_input_attrs
input_attrs
@stolarczyk says current actual implementation is using:
required_inputs_attr
all_inputs_attr