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

Not able to set print_char #28

Open
Flix6x opened this issue May 4, 2023 · 0 comments
Open

Not able to set print_char #28

Flix6x opened this issue May 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Flix6x
Copy link

Flix6x commented May 4, 2023

Version

0.4.0

Platform

Linux pop-os 5.15.11-76051511-generic #202112220937164018548121.04~b3a2c21-Ubuntu SMP Mon Jan 3 16:5 x86_64 GNU/Linux

Python

Python 3.9.9

Description

The print_char argument is not being picked up

I ran this code:

from dotwiz import DotWiz
a = DotWiz(dict(foo="bar"), print_char='Asset')
print(a)

I expected to see this happen: Asset(foo='bar')

Instead, this happened: ✫(foo='bar', print_char='Asset')

Context

It looks like any keyword argument to DotWiz is picked up as a dictionary key, including the print_char and metaclass arguments that are meant to support customizing its representation.

@Flix6x Flix6x added the bug Something isn't working label May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant