Error when running models from dbt core CLI

The problem I’m having

(dbt-demo-_hhkmneR) C:\Users\sowmyad\dbt-demo\US_Walmart>dbt run --models CA_WALMART_STG_WAREHOUSE_INFO
04:52:40 Running with dbt=1.5.2
04:52:44 Registered adapter: databricks=1.5.5
04:52:44 Unable to do partial parsing because saved manifest not found. Starting full parse.
04:52:47 Encountered an error:
‘bool’ object is not callable
04:52:47 Traceback (most recent call last):
File “C:\Users\sowmyad.virtualenvs\dbt-demo-_hhkmneR\Lib\site-packages\dbt\cli\requires.py”, line 86, in wrapper
result, success = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\sowmyad.virtualenvs\dbt-demo-_hhkmneR\Lib\site-packages\dbt\cli\requires.py”, line 71, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\sowmyad.virtualenvs\dbt-demo-_hhkmneR\Lib\site-packages\dbt\cli\requires.py”, line 142, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\sowmyad.virtualenvs\dbt-demo-_hhkmneR\Lib\site-packages\dbt\cli\requires.py”, line 168, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\sowmyad.virtualenvs\dbt-demo-_hhkmneR\Lib\site-packages\dbt\cli\requires.py”, line 215, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\sowmyad.virtualenvs\dbt-demo-_hhkmneR\Lib\site-packages\dbt\cli\requires.py”, line 242, in wrapper
manifest = ManifestLoader.get_full_manifest(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\sowmyad.virtualenvs\dbt-demo-_hhkmneR\Lib\site-packages\dbt\parser\manifest.py”, line 227, in get_full_manifest
manifest = loader.load()
^^^^^^^^^^^^^
File “C:\Users\sowmyad.virtualenvs\dbt-demo-_hhkmneR\Lib\site-packages\dbt\parser\manifest.py”, line 386, in load
self.parse_project(
File “C:\Users\sowmyad.virtualenvs\dbt-demo-_hhkmneR\Lib\site-packages\dbt\parser\manifest.py”, line 515, in parse_project
parser.parse_file(block)
File “C:\Users\sowmyad.virtualenvs\dbt-demo-_hhkmneR\Lib\site-packages\dbt\parser\base.py”, line 433, in parse_file
self.parse_node(file_block)
File “C:\Users\sowmyad.virtualenvs\dbt-demo-_hhkmneR\Lib\site-packages\dbt\parser\base.py”, line 394, in parse_node
self.render_update(node, config)
File “C:\Users\sowmyad.virtualenvs\dbt-demo-_hhkmneR\Lib\site-packages\dbt\parser\models.py”, line 358, in render_update
super().render_update(node, config)
File “C:\Users\sowmyad.virtualenvs\dbt-demo-_hhkmneR\Lib\site-packages\dbt\parser\base.py”, line 370, in render_update
context = self.render_with_context(node, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\sowmyad.virtualenvs\dbt-demo-_hhkmneR\Lib\site-packages\dbt\parser\base.py”, line 240, in render_with_context
get_rendered(parsed_node.raw_code, context, parsed_node, capture_macros=True)
File “C:\Users\sowmyad.virtualenvs\dbt-demo-_hhkmneR\Lib\site-packages\dbt\clients\jinja.py”, line 591, in get_rendered
return render_template(template, ctx, node)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\sowmyad.virtualenvs\dbt-demo-_hhkmneR\Lib\site-packages\dbt\clients\jinja.py”, line 546, in render_template
return template.render(ctx)
^^^^^^^^^^^^^^^^^^^^
File “C:\Users\sowmyad.virtualenvs\dbt-demo-_hhkmneR\Lib\site-packages\jinja2\environment.py”, line 1301, in render
self.environment.handle_exception()
File “C:\Users\sowmyad.virtualenvs\dbt-demo-_hhkmneR\Lib\site-packages\jinja2\environment.py”, line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File “”, line 7, in top-level template code
File “C:\Users\sowmyad.virtualenvs\dbt-demo-_hhkmneR\Lib\site-packages\jinja2\sandbox.py”, line 393, in call
return __context.call(__obj, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: ‘bool’ object is not callable

The context of why I’m trying to do this

I am trying to run the models in dbt

What I’ve already tried

I have tried checking all the folders and code inside it.