Add_or_update_checkpoint() got an unexpected keyword argument 'validator'

Hi, I was exploring great_expectations and trying the sample code listed in the tutorial, however I am seeing this error:
add_or_update_checkpoint() got an unexpected keyword argument ‘validator’
Any pointers to it?

import great_expectations as gx
context = gx.get_context()
validator = context.sources.pandas_default.read_csv(
https://raw.githubusercontent.com/great-expectations/gx_tutorials/main/data/yellow_tripdata_sample_2019-01.csv
)
validator.expect_column_values_to_not_be_null(“pickup_datetime”)
validator.expect_column_values_to_be_between(“passenger_count”, auto=True)
validator.save_expectation_suite()
#checkpoint = context.add_or_update_checkpoint(name=“my_quickstart_checkpoint”,validator=validator)
checkpoint = context.add_or_update_checkpoint(name=“my_taxi_validator_checkpoint”, validations=validator)
checkpoint_result = checkpoint.run()

Hi @bn45780 that same code is running fine on my end. Which GX version are you using? Also, what does your folder structure for GX look like?

It is 0.16.13. Do I need to update it to 0.17.15 ?

Here is the installation log, got few warnings, but it was installed.

dev-dsk-bishwa-2c-43922af7 % pip3 install great_expectations
Defaulting to user installation because normal site-packages is not writeable
Collecting great_expectations
Obtaining dependency information for great_expectations from https://files.pythonhosted.org/packages/62/92/ffd54e99c84cccbf1cd3562726e6c2330e0c1fbf593678719ac3ea212c11/great_expectations-0.16.13-py3-none-any.whl.metadata
Downloading great_expectations-0.16.13-py3-none-any.whl.metadata (11 kB)

Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The script great_expectations is installed in ‘/home/bishwa/.local/bin’ which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed Click-8.1.7 Ipython-7.34.0 MarkupSafe-2.1.3 Send2Trash-1.8.2 altair-4.2.2 anyio-3.7.1 argon2-cffi-23.1.0 argon2-cffi-bindings-21.2.0 attrs-23.1.0 backcall-0.2.0 backports.zoneinfo-0.2.1 beautifulsoup4-4.12.2 bleach-6.0.0 certifi-2023.7.22 cffi-1.15.1 charset-normalizer-3.2.0 colorama-0.4.6 comm-0.1.4 cryptography-41.0.3 debugpy-1.7.0 decorator-5.1.1 defusedxml-0.7.1 entrypoints-0.4 exceptiongroup-1.1.3 fastjsonschema-2.18.0 great_expectations-0.16.13 idna-3.4 importlib-metadata-6.7.0 importlib-resources-5.12.0 ipykernel-6.16.2 ipython-genutils-0.2.0 ipywidgets-8.1.0 jedi-0.19.0 jinja2-3.1.2 jsonpatch-1.33 jsonpointer-2.4 jsonschema-4.17.3 jupyter-client-7.4.9 jupyter-core-4.12.0 jupyter-server-1.24.0 jupyterlab-pygments-0.2.2 jupyterlab-widgets-3.0.8 makefun-1.15.1 marshmallow-3.19.0 matplotlib-inline-0.1.6 mistune-3.0.1 nbclassic-1.0.0 nbclient-0.7.4 nbconvert-7.6.0 nbformat-5.8.0 nest-asyncio-1.5.7 notebook-6.5.5 notebook-shim-0.2.3 numpy-1.21.6 packaging-23.1 pandas-1.3.5 pandocfilters-1.5.0 parso-0.8.3 pexpect-4.8.0 pickleshare-0.7.5 pkgutil-resolve-name-1.3.10 prometheus-client-0.17.1 prompt-toolkit-3.0.39 psutil-5.9.5 ptyprocess-0.7.0 pycparser-2.21 pydantic-1.10.12 pygments-2.16.1 pyparsing-3.1.1 pyrsistent-0.19.3 python-dateutil-2.8.2 pytz-2023.3.post1 pyzmq-24.0.1 requests-2.31.0 ruamel.yaml-0.17.17 ruamel.yaml.clib-0.2.7 scipy-1.7.3 six-1.16.0 sniffio-1.3.0 soupsieve-2.4.1 terminado-0.17.1 tinycss2-1.2.1 toolz-0.12.0 tornado-6.2 tqdm-4.66.1 traitlets-5.9.0 typing-extensions-4.7.1 tzlocal-5.0.1 urllib3-2.0.4 wcwidth-0.2.6 webencodings-0.5.1 websocket-client-1.6.1 widgetsnbextension-4.0.8 zipp-3.15.0

Need to update it to 0.17.15. Issue resolved on Slack
Screenshot 2023-09-13 at 11.28.23 AM