[galaxyproject/galaxy] 6bd251: Give all model objects with an id a __repr__ that ...
Branch: refs/heads/dev Home: https://github.com/galaxyproject/galaxy Commit: 6bd2513a35e24d9ac596eb77f66cc1f5896ec76e https://github.com/galaxyproject/galaxy/commit/6bd2513a35e24d9ac596eb77f66cc... Author: Nate Coraor <nate@bx.psu.edu> Date: 2018-10-10 (Wed, 10 Oct 2018) Changed paths: M lib/galaxy/model/__init__.py Log Message: ----------- Give all model objects with an id a __repr__ that includes the id Commit: 414ce0a0eb18ad224d31136ad886079843814b66 https://github.com/galaxyproject/galaxy/commit/414ce0a0eb18ad224d31136ad8860... Author: Nate Coraor <nate@bx.psu.edu> Date: 2018-10-10 (Wed, 10 Oct 2018) Changed paths: M lib/galaxy/model/__init__.py Log Message: ----------- Use model.cached_id() instead of <obj>.id as per the tip from @jmchilton. Also, include the object's id (address) as with the default repr since it indicates whether an object is a different copy from another with the same id (database). Also catch any exceptions because failing to repr a model object could be pretty bad. Commit: 346b1bbfae5674a0212f626a5b9e4bd929fac889 https://github.com/galaxyproject/galaxy/commit/346b1bbfae5674a0212f626a5b9e4... Author: Martin Cech <marten@bx.psu.edu> Date: 2018-11-09 (Fri, 09 Nov 2018) Changed paths: M lib/galaxy/model/__init__.py Log Message: ----------- Merge pull request #6757 from natefoo/repr-model-objects Give all model objects with an id a __repr__ that includes the id Compare: https://github.com/galaxyproject/galaxy/compare/fdb571f57dad...346b1bbfae56 **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
participants (1)
-
GitHub