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")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, 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
Answered
This Will Close It

This will close it
Task.current_task().close()I think we should rename completed() because it just marks the Task as completed on the backend but does not actually close the current instance

  
  
Posted 2 years ago
Votes Newest

Answers 3


Yup, I just wanted to mark it completed, honestly. But then when I run it, Colab crashes.

  
  
Posted 2 years ago

Yup, I just wanted to mark it completed, honestly. But then when I run it, Colab crashes.

task.close() will do that
BTW what's the exception you are getting ?

  
  
Posted 2 years ago

It's not a big deal because it happens after I'm done with everything, I can just reset the Colab runtime and start over

  
  
Posted 2 years ago
706 Views
3 Answers
2 years ago
one year ago
Tags