File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ async def get_lineage(
121121
122122 project_id = settings .instance ().dremio .project_id
123123 endpoint = f"/v0/projects/{ project_id } /catalog" if project_id else "/api/v3/catalog"
124- params = {"removeCatalogName" : remove_catalog_name }
124+ params = {"removeCatalogName" : str ( remove_catalog_name ). lower () }
125125 result : LineageResponse = await client .get (
126126 f"{ endpoint } /{ dataset_id_or_path } /graph" ,
127127 params = params ,
@@ -140,7 +140,7 @@ async def get_schema(
140140 client = AsyncHttpClient ()
141141 project_id = settings .instance ().dremio .project_id
142142 endpoint = f"/v0/projects/{ project_id } /catalog" if project_id else "/api/v3/catalog"
143- params = {"removeCatalogName" : remove_catalog_name }
143+ params = {"removeCatalogName" : str ( remove_catalog_name ). lower () }
144144 if by_id :
145145 endpoint += "/" + dataset_path_or_id
146146 else :
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ async def get_search_results(
227227 else "/api/v3/search"
228228 )
229229
230- params = {"removeCatalogName" : remove_catalog_name }
230+ params = {"removeCatalogName" : str ( remove_catalog_name ). lower () }
231231
232232 result = []
233233 response = await client .post (
You can’t perform that action at this time.
0 commit comments