(
        self,
        resource_name: str,
        hash: Optional[str] = None
    )
return '.'.join(
            filter(
                None,
                [
                    self.resource_type,
                    self.project.project_name,
                    resource_name,
                    hash
                ]
            )
        )
Returns a unique identifier for a resource
        An optional hash may be passed in to ensure uniqueness for edge cases
Returns a unique identifier for a resource
        An optional hash may be passed in to ensure uniqueness for edge cases
Returns a unique identifier for a resource An optional hash may be passed in to ensure uniqueness for edge cases
def generate_unique_id(
        self,
        resource_name: str,
        hash: Optional[str] = None
    ) -> str:
        """Returns a unique identifier for a resource
        An optional hash may be passed in to ensure uniqueness for edge cases"""

        return '.'.join(
            filter(
                None,
                [
                    self.resource_type,
                    self.project.project_name,
                    resource_name,
                    hash
                ]
            )
        )
def generate_unique_id ( self , resource_name : str , hash : Optional [ str ] = None ) -> str : return '.' . join ( filter ( None , [ self . resource_type , self . project . project_name , resource_name , hash ] ) )