Closed njgheorghita closed 6 years ago
@pipermerriam Thanks for the review - it's actually branched off of pr #76 which is still waiting review - is there a better way to handle this? Probably leave off the ready for review
label until the preceding pr is merged and I can rebase?
Branched from #76
What was wrong?
Package.get_deployments
andPackage.get_build_dependencies
won't change throughout aPackage
's life - so it makes little sense to call that method over and overHow was it fixed?
Cached the
Deployments
obj andDependencies
obj as properties on thePackage
obj using thecached_property
from Django https://docs.djangoproject.com/en/2.0/_modules/django/utils/functional/#cached_propertyCute Animal Picture