def to_dict(self, include_warehouse: bool = False) -> dict:
_LOGGER.debug("<STR_LIT>")<EOL>result = {"<STR_LIT:url>": self.url, "<STR_LIT>": self.verify_ssl, "<STR_LIT:name>": self.name}<EOL>if include_warehouse:<EOL><INDENT>result["<STR_LIT>"] = self.warehouse<EOL><DEDENT>return result<EOL>
Convert source definition to its dict representation.