Conflict between Resource class attribute and new almanac interface endpoints
See original GitHub issueWith rPe502df509d5f, upstream phab implements almanac conduit endpoints: almanc.interface.search
and almanc.interface.edit
.
This now conflicts with the existing Resource class attribute self.interface
. If you reproduce this against a Phab instance with the new almanac.interface.*
conduit endpoints:
from phabricator import Phabricator
phab = Phabricator()
phab.almanac.interface.search
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'dict' object has no attribute 'search'
it throws an error because it is using the Resource class attribute self.interface
instead of treating it like a normal method. This does not occur when the method name does not conflict with the Resource attributes:
phab.almanac.device.search
<phabricator.Resource object at 0x7f760699cf60>
The Resource class should not rely on certain keywords not becoming conduit methods.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
AC 20-138D - Airworthiness Approval of Positioning and ... - FAA
This revision adds minor clarifications and new guidance material based on issues and questions since revision 'C' was published.
Read more >GIS Dictionary - Esri Support
Look up terms related to GIS operations, cartography, and Esri technology.
Read more >Volume 68 Number 3 | University of Pennsylvania Almanac
The new academic year is off and running, and this promises to be a truly spectacular semester back on campus for our staff,...
Read more >register_post_type() | Function
Triggers the handling of rewrites for this post type. To prevent rewrite, set to false. Defaults to true, using $post_type as slug. To...
Read more >yga - River Thames Conditions - Environment Agency - GOV.UK
Hinterklemm, Hungrier baby milk, Rossville church of christ rossville ga, Satellite beach florida zip code, Kozne cizme cene? The voice 10/27 results, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Github, Buildkite and a bunch of smaller custom tools.
We have a monorepo and were continually running into scaling issues with both Diffusion and Harbormaster. The migration has alleviated a our old pain points.
This should be resolved in
0.8.1