Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typecheck functions not working #74

Open
mihai-stancu opened this issue Jan 15, 2024 · 0 comments
Open

Typecheck functions not working #74

mihai-stancu opened this issue Jan 15, 2024 · 0 comments

Comments

@mihai-stancu
Copy link

mihai-stancu commented Jan 15, 2024

Hi,

I've noticed that the typecheck functions are always returning false on my install.

I'm running Ubuntu 22.04 with Python 3.10.12 and have installed emrichen 0.4.0 via pip install emrichen at version.

# x.yml
!Defaults

number: 1234
dict:
  key: 4321

---
test_number_isnumber: !IsNumber number
test_dict_isdict: !IsDict dict

test_number_isinteger: !IsInteger number

test_number_isstring: !IsString number
test_dict_isstring: !IsString dict
$ emrichen < x.yml 
> test_number_isnumber: false
> test_dict_isdict: false
> test_number_isinteger: false
> test_number_isstring: true
> test_dict_isstring: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant