def __init__(
        self,
        tileset_info=None,
        tiles=None,
        chromsizes=lambda: None,
        uuid=None,
        private=False,
        name="",
        datatype="",
        track_type=None,
        track_position=None,
    ):
        """
        Parameters
        ----------
        tileset_info: function
            A function returning the information (min_pos, max_pos, max_width, max_zoom),
            for this tileset.
        tiles: function
            A function returning tile data for this tileset
        """
        self.name = name
        self.datatype = datatype
        self.tileset_info_fn = tileset_info
        self.tiles_fn = tiles
        self.chromsizes_fn = chromsizes
        self.private = private
        self.track_type = None
        self.track_position = None

        if uuid is not None:
            self.uuid = uuid
        else:
            self.uuid = slugid.nice()
def __init__ ( self , tileset_info = None , tiles = None , chromsizes = lambda : None , uuid = None , private = False , name = "" , datatype = "" , track_type = None , track_position = None , ) : self . name = name self . datatype = datatype self . tileset_info_fn = tileset_info self . tiles_fn = tiles self . chromsizes_fn = chromsizes self . private = private self . track_type = None self . track_position = None if uuid is not None : self . uuid = uuid else : self . uuid = slugid . nice ( )
Parameters
        ----------
        tileset_info: function
            A function returning the information (min_pos, max_pos, max_width, max_zoom),
            for this tileset.
        tiles: function
            A function returning tile data for this tileset