Publication and template fixes#414
Conversation
e0eccb6 to
5191b7c
Compare
[noissue]
5191b7c to
98d2cd5
Compare
98d2cd5 to
d64964d
Compare
| ).get(relative_path=rel_path).content_artifact | ||
| except ObjectDoesNotExist: | ||
| return None | ||
| file = ca.artifact.file |
There was a problem hiding this comment.
Is there a guarantee that at this point in the execution, the content artifact has a downloaded artifact and not a remote artifact? In other words, is ca.artifact guaranteed to not be None?
There was a problem hiding this comment.
Yes, the ca.artifact is actually a published_artifact so it is guaranteed to exist.
There was a problem hiding this comment.
Oh, you're right. Could you rename ca to something that doesn't evoke ContentArtifact? Like pa or published_artifact
There was a problem hiding this comment.
I can, but it is a ContentArtifact, PublishedArtifact uses a ContentArtifact to store its file.
There was a problem hiding this comment.
Gotcha. I didn't see the .content_artifact at the end of line 83
Updating the template/CI and fixing publications on S3