microscopes.common.validator

microscopes.common.validator.validate_dict_like(obj, param_name=None)
microscopes.common.validator.validate_in_range(idx, n, param_name=None)
microscopes.common.validator.validate_kwargs(kwargs, valid_kwargs)

validates kwargs.keys() against the whitelist valid_kwargs

microscopes.common.validator.validate_len(obj, size, param_name=None)
microscopes.common.validator.validate_nonempty(lst, param_name=None)
microscopes.common.validator.validate_nonnegative(arg, param_name=None)
microscopes.common.validator.validate_not_none(obj, param_name=None)
microscopes.common.validator.validate_positive(arg, param_name=None)
microscopes.common.validator.validate_type(obj, typ, param_name=None)
Datamicroscopes is developed by Qadium, with funding from the DARPA XDATA program. Copyright Qadium 2015.