mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-11 20:01:16 +00:00
fix maybe for SDK v3 docs
This commit is contained in:
@@ -17,7 +17,7 @@ API_URL = "https://api-bff.nftpricefloor.com"
|
||||
def get_collection_slugs() -> List[str]:
|
||||
df = get_collections()
|
||||
if not df.empty and "slug" in df.columns:
|
||||
return df["slug"].tolist()
|
||||
return df["slug"].values.tolist()
|
||||
return []
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user