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

proxy: Add pykka.traversable() marker #81

Merged
merged 1 commit into from
Mar 10, 2019
Merged

Conversation

jodal
Copy link
Owner

@jodal jodal commented Mar 10, 2019

Add pykka.traversable for marking an actor's attributes as traversable when used through actor proxies.

The old way of manually adding a pykka_traversable attribute to the object to be traversed still works, but the new function is recommended as it provides protection against typos in the marker name, and keeps the traversable marking in the actor class itself.

@jodal jodal added this to the v2.0 milestone Mar 10, 2019
@jodal jodal self-assigned this Mar 10, 2019
@codecov-io
Copy link

codecov-io commented Mar 10, 2019

Codecov Report

Merging #81 into develop will increase coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #81      +/-   ##
===========================================
+ Coverage    95.11%   95.15%   +0.04%     
===========================================
  Files           14       14              
  Lines          594      599       +5     
===========================================
+ Hits           565      570       +5     
  Misses          29       29
Impacted Files Coverage Δ
pykka/proxy.py 98.95% <100%> (+0.05%) ⬆️

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 70bdb66...b77e9c7. Read the comment docs.

@jodal jodal merged commit 3b44c37 into develop Mar 10, 2019
@jodal jodal deleted the jodal/traversable-marker branch March 10, 2019 23:55
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.

2 participants