(self)
Set metadata_author and/or point of contact (poc) to a resource when any of them is missing
Set metadata_author and/or point of contact (poc) to a resource when any of them is missing
Set metadata_author and / or point of contact ( poc ) to a resource when any of them is missing
def add_missing_metadata_author_or_poc(self):
        """
        Set metadata_author and/or point of contact (poc) to a resource when any of them is missing
        """
        if not self.metadata_author:
            self.metadata_author = self.owner
        if not self.poc:
            self.poc = self.owner
def add_missing_metadata_author_or_poc ( self ) : if not self . metadata_author : self . metadata_author = self . owner if not self . poc : self . poc = self . owner