def _get_application_tags(self):
application_tags = {}<EOL>if isinstance(self.Location, dict):<EOL><INDENT>if (self.APPLICATION_ID_KEY in self.Location.keys() and<EOL>self.Location[self.APPLICATION_ID_KEY] is not None):<EOL><INDENT>application_tags[self._SAR_APP_KEY] = self.Location[self.APPLICATION_ID_KEY]<EOL><DEDENT>if (self.SEMANTIC_VERSION_KEY in self.Location.keys() and<EOL>self.Location[self.SEMANTIC_VERSION_KEY] is not None):<EOL><INDENT>application_tags[self._SAR_SEMVER_KEY] = self.Location[self.SEMANTIC_VERSION_KEY]<EOL><DEDENT><DEDENT>return application_tags<EOL>
Adds tags to the stack if this resource is using the serverless app repo