Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Unanswered
← Getting FI Holidays

Hi Dan,

You can grab holidays using the Hours object, and I recommend passing in the hour_type of GeneratedTransaction, and choosing a transaction type that holidays is set for, like so:

holidays_hours = Hours(logger=self.context.logger)
holidays= await holidays_hours.get(hour_type=HourType.GeneratedTransaction, transaction_type=TransactionType('AchBatch'))

The resulting data dictionary should have all the holidays that you set in Q2Central.

Best,
Mark

Posted 4 years ago
Mark Ostroth
309 × 5 Administrator
0

Thanks, Mark!

— Dan Collins   4 years ago
20 Views
0 Answers
4 years ago
4 years ago