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
Back to post

Revisions 4

2 years ago
Breaking out /slash activities into it's own file
Breaking out /slash activities into it's own file
Hey guys, we are making heavy use of the @activites.slash decorator, something along the lines of: ![file](https://forum.developers.symphony.com/upload/files/1644080911547_Screen%20Shot%202022-02-05%20at%2012.08.23%20PM.png) But think duplicating that decorator 20 times for various commands. Any ideas/examples of how we can seprate this code out into a separate file and importing back into __main__? We are currently keeping everything inside of the __main__.py at the moment and it's getting messy because we have a lot of slash commands building up. Also if we need to handle multiple slash scenarios is the best approach just continuing to duplicate the @activies.slash decorator over and over again?
Hey guys, we are making heavy use of the @activites.slash decorator, something along the lines of: ![file](https://forum.developers.symphony.com/upload/files/1644080911547_Screen%20Shot%202022-02-05%20at%2012.08.23%20PM.png) But think duplicating that decorator 20 times for various commands. Any ideas/examples of how we can seprate this code out into a separate file? We are currently keeping everything inside of the __main__.py class at the moment and it's getting messy. Also if we need to handle multiple slash scenarios
#question #bdk #python
#question #bdk #python
2 years ago
Breaking out /slash activities into it's own file
Breaking out /slash activities into it's own file
Hey guys, we are making heavy use of the @activites.slash decorator, something along the lines of: ![file](https://forum.developers.symphony.com/upload/files/1644080911547_Screen%20Shot%202022-02-05%20at%2012.08.23%20PM.png) But think duplicating that decorator 20 times for various commands. Any ideas/examples of how we can seprate this code out into a separate file? We are currently keeping everything inside of the __main__.py class at the moment and it's getting messy. Also if we need to handle multiple slash scenarios
Hey guys, we are making heavy use of the @activites.slash decorator, something along the lines of: ![file](https://forum.developers.symphony.com/upload/files/1644080911547_Screen%20Shot%202022-02-05%20at%2012.08.23%20PM.png) But think duplicating that decorator 20 times for various commands. Any ideas/examples of how we can seprate this code out into a separate file? We are currently keeping everything inside of the __main__.py class at the moment and it's getting messy.
#question #bdk #python
#question
2 years ago
Breaking out /slash activities into it's own file
Breaking out /slash activities into it's own file
Hey guys, we are making heavy use of the @activites.slash decorator, something along the lines of: ![file](https://forum.developers.symphony.com/upload/files/1644080911547_Screen%20Shot%202022-02-05%20at%2012.08.23%20PM.png) But think duplicating that decorator 20 times for various commands. Any ideas/examples of how we can seprate this code out into a separate file? We are currently keeping everything inside of the __main__.py class at the moment and it's getting messy.
Hey guys, we are making heavy use of the @activites.slash decorator, something along the lines of: ![file](https://forum.developers.symphony.com/upload/files/1644080911547_Screen%20Shot%202022-02-05%20at%2012.08.23%20PM.png) But x 100. Any ideas/examples of how we can seprate this code out into a separate file? We are currently keeping everything inside of the __main__.py class at the moment and it's getting messy.
#question
#question
2 years ago
Original
Breaking out /slash activities into it's own file

Hey guys, we are making heavy use of the @activites.slash decorator, something along the lines of: ![file](https://forum.developers.symphony.com/upload/files/1644080911547_Screen%20Shot%202022-02-05%20at%2012.08.23%20PM.png) But x 100. Any ideas/examples of how we can seprate this code out into a separate file? We are currently keeping everything inside of the __main__.py class at the moment and it's getting messy.
#question