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

Conversation

Projects
None yet
2 participants
@jodal
Copy link
Owner

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

This comment has been minimized.

Copy link

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

14 checks passed

ci/circleci: black Your tests passed on CircleCI!
Details
ci/circleci: check-manifest Your tests passed on CircleCI!
Details
ci/circleci: docs Your tests passed on CircleCI!
Details
ci/circleci: flake8 Your tests passed on CircleCI!
Details
ci/circleci: py27 Your tests passed on CircleCI!
Details
ci/circleci: py34 Your tests passed on CircleCI!
Details
ci/circleci: py35 Your tests passed on CircleCI!
Details
ci/circleci: py36 Your tests passed on CircleCI!
Details
ci/circleci: py37 Your tests passed on CircleCI!
Details
ci/circleci: py38 Your tests passed on CircleCI!
Details
ci/circleci: pypy Your tests passed on CircleCI!
Details
ci/circleci: pypy3 Your tests passed on CircleCI!
Details
codecov/patch 100% of diff hit (target 95.11%)
Details
codecov/project 95.15% (+0.04%) compared to 70bdb66
Details

@jodal jodal deleted the jodal/traversable-marker branch Mar 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.