You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Continuing to write more docs, the chaining syntax isn't nearly as comfortable as in other languages. This is mainly because of the lack of implicit continuation. Instead of fighting that with explicit continuation or wrapping parentheses, it's probably better to work with Python than try to shoehorn C#-like LINQ in.
Once again pulling inspiration from Requests, Session configuration saw a change in 1.0[source] from init kwargs to attributes:
This also nicely clears up the filter chaining ambiguity from #43, #44. Early validation can still be done on each setter, but it may be easier to simply check on build (again pulling from Requests: this would be similar to the Request vs PreparedRequest split)
Open question: are attributes validated on set, or on build?
The text was updated successfully, but these errors were encountered:
Continuing to write more docs, the chaining syntax isn't nearly as comfortable as in other languages. This is mainly because of the lack of implicit continuation. Instead of fighting that with explicit continuation or wrapping parentheses, it's probably better to work with Python than try to shoehorn C#-like LINQ in.
Once again pulling inspiration from Requests,
Session
configuration saw a change in 1.0[source] from init kwargs to attributes:Filter
wouldn't be considering exactly the same change, but it's a similar syntax cleanup.Here's the current options with
0.9.12
:As we move down the list, we're almost getting to simply setting attributes on the
Filter
.Here's the proposal for
1.0
:This also nicely clears up the filter chaining ambiguity from #43, #44. Early validation can still be done on each setter, but it may be easier to simply check on build (again pulling from Requests: this would be similar to the
Request
vsPreparedRequest
split)Open question: are attributes validated on set, or on build?
The text was updated successfully, but these errors were encountered: