Skip to content

Conversation

@swistakm
Copy link
Owner

@swistakm swistakm commented Sep 6, 2016

Example usage:

>>> Range(0, 20, boundaries='exclusive')
<Range: {0 TO 20}>
>>> Range(0, 20, boundaries='ei')
<Range: {0 TO 20]>
>>> Range(0, 20, boundaries='[}')
<Range: [0 TO 20}>

More details in updated docstring.

@swistakm
Copy link
Owner Author

swistakm commented Sep 6, 2016

@mihau, @momirjalili please take a look and comment.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling a10d8ff on feature/explicit-range-boundaries into c62a755 on master.

Wraps two values with Solr's ``[<from> TO <to>]`` syntax with respect to
restricted character esaping.
Wrapper around range values. Wraps two values with Solr's
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment seems duplicated.

@mihau
Copy link

mihau commented Sep 6, 2016

Looks good - seems easy to work with.

@momirjalili
Copy link

looks good to me, straight forward and simple.

@swistakm swistakm merged commit 68ca6ba into master Sep 7, 2016
@swistakm swistakm deleted the feature/explicit-range-boundaries branch September 7, 2016 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants