You are probably using old code with the new SpecklePY SDK.
The streams are renamed to projects
The branches are renamed to models
and the commits are renamed to versions.
See more info here:
The new SpecklePy works like this:
projects = client.active_user.get_projects()
for proj in projects.items:
print(proj.id)
models_response = client.project.get_with_models(project_id="8be1007be1") #Replace here with your model id
for model in models_response.models.items:
print(model.id)
versions = client.model.get_with_versions(model_id="7c7151f48d", project_id="8be1007be1") #Replace here with your model and project id
for ver in versions.versions.items:
print(ver.id)
You can always downgrade to an older version and the code should work fine.
But is not recommended.