From 9474ac58410e83d8689622935e6b0a9a5b774581 Mon Sep 17 00:00:00 2001 From: Elena Williams Date: Fri, 9 Aug 2019 15:26:05 +1000 Subject: [PATCH] Updating deprecated method `search()` to `filter()` Responding to: `DeprecationWarning: search() is now deprecated please use filter() and exclude()` --- doc/source/getting_started.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/getting_started.rst b/doc/source/getting_started.rst index 084c6d1c..f12c0c4a 100644 --- a/doc/source/getting_started.rst +++ b/doc/source/getting_started.rst @@ -162,7 +162,7 @@ Working with relationships:: len(germany.inhabitant) # 1 # Find people called 'Jim' in germany - germany.inhabitant.search(name='Jim') + germany.inhabitant.filter(name='Jim') # Remove Jim's country relationship with Germany jim.country.disconnect(germany)