-
Notifications
You must be signed in to change notification settings - Fork 473
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
CollectionRowBlock property name inconsistency #4
Comments
Note that the slugified name can already be accessed as a property:
|
Another note:
The |
Instead, I'll go back and fix the original issue being reported here. :) It looks as if |
Fixed in #23, which will shortly be released as 0.0.21! |
Version 0.0.21 has now been released to PyPI! Please give it a try and see how it works for you. Thanks for reporting issues! |
I'm working with a collection, and I'd like to know the key names (properties) for the rows in that collection. Consider the following helper methods:
When running on the Chef Pipeline board collection, I get the following outputs:
Expected
first_row.get_all_properties().keys()
to be the same asslug
orname
of the property.Observed
The key
license(s)
seems like lowercase version of the propertyname
Context
I was trying to find the property "accessor" method for getting properties and tried all of these options:
before learning about the
row.get_property
method which works with all three identifiers:@jamalex Would it make sense to define a
get
and/or__getitem__
as alias forget_property
forCollectionRowBlock
objects?The text was updated successfully, but these errors were encountered: