datalad_next.constraints.EnsureRemoteName
- class datalad_next.constraints.EnsureRemoteName(known: bool | None = None, dsarg: DatasetParameter | None = None)[source]
Bases:
Constraint
Ensures a valid remote name, and optionally if such a remote is known
- for_dataset(dataset: DatasetParameter) Constraint [source]
Return an similarly parametrized variant that checks remote names against a given dataset (argument)