param 2.4.0rc2__tar.gz → 2.4.0rc3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {param-2.4.0rc2 → param-2.4.0rc3}/PKG-INFO +1 -1
- {param-2.4.0rc2 → param-2.4.0rc3}/param/_version.py +2 -2
- {param-2.4.0rc2 → param-2.4.0rc3}/param/parameterized.py +1 -1
- {param-2.4.0rc2 → param-2.4.0rc3}/param/parameters.py +2 -2
- {param-2.4.0rc2 → param-2.4.0rc3}/.gitignore +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/LICENSE.txt +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/README.md +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/numbergen/__init__.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/param/__init__.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/param/_utils.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/param/depends.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/param/display.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/param/ipython.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/param/py.typed +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/param/reactive.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/param/serializer.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/param/version.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/pyproject.toml +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/__init__.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/assert_types.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/conftest.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/pyrightconfig-bare.json +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testaddparameter.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testbind.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testbooleanparam.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testbytesparam.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testcalendardateparam.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testcalendardaterangeparam.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testcallable.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testclassselector.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testcolorparameter.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testcomparator.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testcompositeparams.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testcustomparam.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testdateparam.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testdaterangeparam.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testdefaultfactory.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testdefaults.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testdeprecations.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testdynamicparams.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testfiledeserialization.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testfileselector.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testimports.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testipythonmagic.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testjsonserialization.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testlist.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testlistselector.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testmultifileselector.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testnumbergen.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testnumberparameter.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testnumpy.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testobjectselector.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testpandas.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testparamdepends.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testparameter.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testparameterizedobject.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testparameterizedrepr.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testparamoutput.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testparamunion.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testpathparam.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testpickle.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testrangeparameter.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testreactive.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testrefs.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testreprhtml.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testselector.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testsignatures.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/teststringparam.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testtimedependent.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testtupleparam.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testutils.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testversion.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/testwatch.py +0 -0
- {param-2.4.0rc2 → param-2.4.0rc3}/tests/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: param
|
|
3
|
-
Version: 2.4.
|
|
3
|
+
Version: 2.4.0rc3
|
|
4
4
|
Summary: Declarative parameters for robust Python classes and a rich API for reactive programming
|
|
5
5
|
Project-URL: Homepage, https://param.holoviz.org/
|
|
6
6
|
Project-URL: Tracker, https://github.com/holoviz/param/issues
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '2.4.
|
|
22
|
-
__version_tuple__ = version_tuple = (2, 4, 0, '
|
|
21
|
+
__version__ = version = '2.4.0rc3'
|
|
22
|
+
__version_tuple__ = version_tuple = (2, 4, 0, 'rc3')
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
|
@@ -2255,7 +2255,7 @@ class String(Parameter[_T]):
|
|
|
2255
2255
|
def _validate_regex(self, val: t.Any, regex: str | re.Pattern[str] | None):
|
|
2256
2256
|
if val is None or regex is None:
|
|
2257
2257
|
return
|
|
2258
|
-
if re.
|
|
2258
|
+
if re.search(regex, val) is None:
|
|
2259
2259
|
raise ValueError(
|
|
2260
2260
|
f'{_validate_error_prefix(self)} value {val!r} does not '
|
|
2261
2261
|
f'match regex {regex!r}.'
|
|
@@ -4236,7 +4236,7 @@ class Color(Parameter[_T]):
|
|
|
4236
4236
|
def _validate_allow_named(self, val, allow_named):
|
|
4237
4237
|
if val is None:
|
|
4238
4238
|
return
|
|
4239
|
-
is_hex = re.
|
|
4239
|
+
is_hex = re.search('^#?(([0-9a-fA-F]{2}){3}|([0-9a-fA-F]){3})$', val)
|
|
4240
4240
|
if self.allow_named:
|
|
4241
4241
|
if not is_hex and val.lower() not in self._named_colors:
|
|
4242
4242
|
raise ValueError(
|
|
@@ -4319,7 +4319,7 @@ class Bytes(Parameter[_T]):
|
|
|
4319
4319
|
def _validate_regex(self, val, regex):
|
|
4320
4320
|
if val is None or regex is None:
|
|
4321
4321
|
return
|
|
4322
|
-
if re.
|
|
4322
|
+
if re.search(regex, val) is None:
|
|
4323
4323
|
raise ValueError(
|
|
4324
4324
|
f"{_validate_error_prefix(self)} value {val!r} "
|
|
4325
4325
|
f"does not match regex {regex!r}."
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|