@staticmethod
    def get_maxmind_snapshot_path(snapshot_datetime, maxmind_dir):
        """Generates the expected path of the MaxMind snapshot file based on the
        date of the snapshot and the snapshot directory.

        Args:
            snapshot_datetime (str): Datetime of when snapshot was created.

        Returns:
            string: Pathname of MaxMind database file.
        """
        date_string = snapshot_datetime.strftime('%Y%m%d')
        snapshot_filename = 'GeoIPASNum2-%s.csv' % date_string
        return os.path.join(os.path.dirname(__file__), maxmind_dir,
                            snapshot_filename)
dataset/ETHPy150Open m-lab/telescope/telescope/iptranslation.py/IPTranslationStrategyMaxMind.get_maxmind_snapshot_path/original