diff --git a/examples/python/create-database.py b/examples/python/create-database.py
index b57ad94..bf8838b 100644
--- a/examples/python/create-database.py
+++ b/examples/python/create-database.py
@@ -33,6 +33,7 @@ with open(private_key_path, "r") as pkey:
     n = w.add_network("2a07:1c44:5800::/40")
     n.country_code = "DE"
     n.asn = a.number
+    n.set_flag(location.NETWORK_FLAG_ANYCAST)
 
     print(n)
 
