mirror of
https://github.com/katanemo/plano.git
synced 2026-06-17 15:25:17 +02:00
fix validating bug
This commit is contained in:
parent
29a5234bdd
commit
3cbf88fc1e
1 changed files with 6 additions and 1 deletions
|
|
@ -421,7 +421,12 @@ class ArchFunctionHandler(ArchBaseHandler):
|
|||
|
||||
if data_type in self.support_data_types:
|
||||
if not isinstance(
|
||||
self._correcting_type(param_value),
|
||||
param_value,
|
||||
self.support_data_types[data_type],
|
||||
) and not isinstance(
|
||||
self._correcting_type(
|
||||
param_value, self.support_data_types[data_type]
|
||||
),
|
||||
self.support_data_types[data_type],
|
||||
):
|
||||
is_valid = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue