Skip to content

SDK has extra unused parameter for fetching feeds I follow #55

Closed

Description

@iandouglas

Problem explanation

Our documentation at Stream advises Python users to fetch a list of feeds a user follows by calling the .following() method with a parameter to pass in a list of feeds to filter by, but also includes a filter parameter which goes unused. Our documentation will be updated, but perhaps this unused parameter should be removed from the SDK as well? Since this could potentially cause a breaking change for our SDK users, perhaps we should also bump the minor version from 2.3 to 2.4.

Code snippet that causes the problem

def following(self, offset=0, limit=25, feeds=None, filter=None):

Activity

  1. iandouglas commented on Jan 24, 2017

    @iandouglas
    ContributorAuthor

    For clarification, our other SDKs use a parameter called filter for this SDK call, instead of feeds so I would suggest we drop the feeds parameter instead and use the filter parameter to maintain continuity across our libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions