Example of creating a view via Python API


#1

Could somebody please post a sample of a reference to code, which creates a view via Python API?
Thank you,
– Alex


#2

I’ve just realized that there is no example in the documentation proper. The repository does have some examples though. See https://github.com/couchbase/couchbase-python-client/blob/master/examples/search_keywords.py for an example in the beta version. See https://github.com/couchbase/couchbase-python-client/blob/release12/examples/search_keywords.py for an example in the 1.x version.