)]}'
{"oslo_versionedobjects/base.py":[{"author":{"_account_id":11803,"name":"Ryan Rossiter","email":"rlrossit@us.ibm.com","username":"rlrossiter"},"change_message_id":"9d244472c285b30bd00f6bf4f69af3735658cf25","unresolved":false,"context_lines":[{"line_number":947,"context_line":"    return list_obj"},{"line_number":948,"context_line":""},{"line_number":949,"context_line":""},{"line_number":950,"context_line":"def obj_tree_get_versions(objname, tree\u003dNone):"},{"line_number":951,"context_line":"    \"\"\"Construct a mapping of dependent object versions."},{"line_number":952,"context_line":""},{"line_number":953,"context_line":"    This method builds a list of dependent object versions given a top-"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a50d1a3_2b0f1789","line":950,"updated":"2015-07-22 17:52:08.000000000","message":"To make sure I\u0027m understanding this correctly, this function is going to be used to build a tree of an object at the current object versions of whoever runs this right? Basically, is there a need for a version of this function where we want to get the object tree for a object at version 1.x (not being the current version)?","commit_id":"ae045234a16e809a1e0e24a6f6012797aa7436dd"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"4dd900d57b60bf1cddcdef2dc91fc85df5779467","unresolved":false,"context_lines":[{"line_number":947,"context_line":"    return list_obj"},{"line_number":948,"context_line":""},{"line_number":949,"context_line":""},{"line_number":950,"context_line":"def obj_tree_get_versions(objname, tree\u003dNone):"},{"line_number":951,"context_line":"    \"\"\"Construct a mapping of dependent object versions."},{"line_number":952,"context_line":""},{"line_number":953,"context_line":"    This method builds a list of dependent object versions given a top-"}],"source_content_type":"text/x-python","patch_set":2,"id":"3a50d1a3_e9ce142c","line":950,"in_reply_to":"3a50d1a3_2b0f1789","updated":"2015-07-22 18:58:05.000000000","message":"I don\u0027t think so, since this will be done on the client. Basically, it collects the maximum supported versions of all objects related to objname. We wouldn\u0027t use this for backporting on the server side, we use it on the client to make a more detailed request so the server doesn\u0027t need to look at obj_relationships.","commit_id":"ae045234a16e809a1e0e24a6f6012797aa7436dd"},{"author":{"_account_id":11803,"name":"Ryan Rossiter","email":"rlrossit@us.ibm.com","username":"rlrossiter"},"change_message_id":"9d244472c285b30bd00f6bf4f69af3735658cf25","unresolved":false,"context_lines":[{"line_number":973,"context_line":"        if isinstance(field, obj_fields.ObjectField):"},{"line_number":974,"context_line":"            child_cls \u003d field._type._obj_name"},{"line_number":975,"context_line":"        elif isinstance(field, obj_fields.ListOfObjectsField):"},{"line_number":976,"context_line":"            child_cls \u003d field._type._element_type._type._obj_name"},{"line_number":977,"context_line":"        else:"},{"line_number":978,"context_line":"            continue"},{"line_number":979,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3a50d1a3_8b750bfb","line":976,"updated":"2015-07-22 17:52:08.000000000","message":"Is there any better way to get the child object without drilling down through secret variables?","commit_id":"ae045234a16e809a1e0e24a6f6012797aa7436dd"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"4dd900d57b60bf1cddcdef2dc91fc85df5779467","unresolved":false,"context_lines":[{"line_number":973,"context_line":"        if isinstance(field, obj_fields.ObjectField):"},{"line_number":974,"context_line":"            child_cls \u003d field._type._obj_name"},{"line_number":975,"context_line":"        elif isinstance(field, obj_fields.ListOfObjectsField):"},{"line_number":976,"context_line":"            child_cls \u003d field._type._element_type._type._obj_name"},{"line_number":977,"context_line":"        else:"},{"line_number":978,"context_line":"            continue"},{"line_number":979,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"3a50d1a3_69fa0445","line":976,"in_reply_to":"3a50d1a3_8b750bfb","updated":"2015-07-22 18:58:05.000000000","message":"This is not getting the object, but rather the object class based on our definition. So, yeah, it would probably be better if we had some more formal interfaces for this on the fields, but we don\u0027t. We could certainly add them, but that\u0027d be a separate thing.","commit_id":"ae045234a16e809a1e0e24a6f6012797aa7436dd"}]}
