Made LookupFriendship accept multiple users - #290
Conversation
|
|
|
@jeremylow should we merge this PR and then fix your items ourselves? |
|
Nothing that needed to be fixed from my side. The comment about parsing was On Wed, Feb 10, 2016, 11:50 Mike Taylor notifications@github.com wrote:
|
|
Agree that we should always aim for consistency as that is what consumers are looking at (and for) |
|
I think I ended up adding the 'users' kwarg just because it was also in the |
|
@andkon - then let's merge and get this into the system! |
Made LookupFriendship accept multiple users
|
:D thanks folks! |
|
Sorry to be late to this, but I just took a closer look at the changes and I think this changes some previous behavior (which is fine since there are a bunch of other breaking changes for 3.0), but maybe should be considered: Previously, The I wonder if it would be better to remove the The only other thing that I see is that the return type changes depending on whether one or many users are returned. I would prefer to see one return type, e.g., a list, even if it only contains one entry. I'm happy to work on the changes above if they're a good idea. I wrote up the changes as-is for the migration to 3.0 along with some tests against the endpoint, so I can integrate with that if it's OK. Again, sorry to be late to the game on the above. |
|
I'm +1 to both of those suggestions @andkon @jeremylow |
Mostly copied how UsersLookup works. Didn't wrap the _ParseAndCheckTwitter call in a try block, as I wasn't sure what errors to be checking for there.