versionone/VersionOne.SDK.Python

README.md Advanced filtering example is wrong

Closed this issue · 1 comments

The advanced filtering example in the README.md contains the following example code

  for s in (v1.Story
              .filter("Estimate>'5',TotalDone.@Count<'10'")
              .select('Name')):
      print s.Name

According to the REST documentation from VersionOne for the where argument (https://community.versionone.com/VersionOne_Connect/Developer_Library/Learn_the_API/Data_API/Queries/where), additional filter/where terms are separated with either ; or |. The example separates them with a ,, which immediately fails when tested.

Since the README is likely the first thing a potential new user is looking at, and a multi-term filter is virtually required when first testing this SDK against an existing VersionOne installation, it's important that the examples be correct.

Oops, duplicate of #20