Esempio n. 1
0
    def _get_data_site(cls, site: DataSite) -> APISite:
        """
        Return the site serving as a tabular-data repository.

        @param site: The Wikibase site
        """
        return site.tabular_data_repository()
Esempio n. 2
0
    def _get_data_site(cls: WB_TABULAR_DATA_CLASS, site: DataSite) -> APISite:
        """
        Return the site serving as a tabular-data repository.

        :param site: The Wikibase site
        """
        return site.tabular_data_repository()