Deepwalker / trafaret

Ultimate transformation library that supports validation, contexts and aiohttp.
http://trafaret.readthedocs.org/en/latest/
BSD 2-Clause "Simplified" License
177 stars 31 forks source link

Missing class init for `KeysSubset` #42

Open egrachev opened 6 years ago

egrachev commented 6 years ago

If init method without calling super:

  File "/opt/python3.4/trafaret/__init__.py", line 1129, in merge
    set(key.get_name() for key in self.keys)
  File "/opt/python3.4/trafaret/__init__.py", line 1129, in <genexpr>
    set(key.get_name() for key in self.keys)
  File "/opt/python3.4/trafaret/__init__.py", line 940, in get_name
    return self.to_name or self.name
AttributeError: to_name
Deepwalker commented 6 years ago

This is probably fixed in https://github.com/Deepwalker/trafaret/pull/27/files Need time to finish it.

egrachev commented 6 years ago

thx bro!

From: Mikhail Krivushin Sent: 19 октября 2018 г. 18:44 To: Deepwalker/trafaret Cc: Evgeny Grachev; Author Subject: Re: [Deepwalker/trafaret] Missing class init for KeysSubset (#42)

This is probably fixed in https://github.com/Deepwalker/trafaret/pull/27/files Need time to finish it. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.