couchbase / couchbase-python-client

Couchbase Python Client Library (Official)
https://www.couchbase.com/
Apache License 2.0
243 stars 110 forks source link

Fix AnalyticsStatus return values #55

Closed abhayayay closed 2 months ago

abhayayay commented 6 months ago

With the code currently implemented. The line in analytics.py: def status(self) -> AnalyticsStatus: return AnalyticsStatus[self._raw.get("status", "unknown").upper()] will always return AnalyticsStatus.RUNNING

This change fix this issue.

thejcfactor commented 6 months ago

Fixed with PYCBC-1596.