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

Fix for #13: UnboundLocalError in introspection.py #14

Merged
merged 2 commits into from Sep 17, 2019
Merged

Conversation

grvhi
Copy link
Contributor

@grvhi grvhi commented Sep 17, 2019

See #13 for further details

```
ERROR:root:local variable 'subclass' referenced before assignment
Traceback (most recent call last):
  File "/Users/george/.local/share/virtualenvs/sekonto-25hCHSmR/lib/python3.7/site-packages/pygraphy/types/object.py", line 116, in _resolve
    returned = resolver(**kwargs)
  File "/Users/george/.local/share/virtualenvs/sekonto-25hCHSmR/lib/python3.7/site-packages/pygraphy/introspection.py", line 217, in possible_types
    t._type = subclass
UnboundLocalError: local variable 'subclass' referenced before assignment
```
`membber` to `member`
@codecov
Copy link

codecov bot commented Sep 17, 2019

Codecov Report

Merging #14 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #14   +/-   ##
=======================================
  Coverage   90.57%   90.57%           
=======================================
  Files          16       16           
  Lines         997      997           
=======================================
  Hits          903      903           
  Misses         94       94
Impacted Files Coverage Δ
pygraphy/introspection.py 90.72% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b5fcc3b...b564fdc. Read the comment docs.

@ethe
Copy link
Owner

ethe commented Sep 17, 2019

Thank you so much, it is my mistake.

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

Successfully merging this pull request may close these issues.

None yet

2 participants