@classmethod
def from_scene_ds(cls, ds_obj):
    """传入 Scene 的 datasource 构造一个 DataSource"""
    return cls(ds_type=ds_obj.data_source_type, ds_dsn=ds_obj.
        data_source_database.dsn, table=ds_obj.data_source_name)
