dbt-labs / dbt-labs/dbt-rpc

rpc v0.3.3 cannot process the "list" command

Open
#153 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
19
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Is there support for the list command in rpc?

dbt_core v1.4.9
sql adapter v1.4.3
dbt_rpc 0.3.3

my query:
'{'\
'"jsonrpc": "2.0",'\
'"method": "cli_args",'\
'"id": "b69575e2-b1db-463b-a725-8ba200afea85",'\
'"params": {'\
'"cli": "ls"'\
'}}'

Server response:
{'error': {'code': -32000, 'message': 'Server error', 'data': {'type': 'DbtInternalError', 'args': ['No matching handler found for rpc method None (which=list)'], 'message': 'Internal Error\n No matching handler found for rpc method None (which=list)'}}, 'id': 'b69575e2-b1db-463b-a725-8ba200afea85', 'jsonrpc': '2.0'}

Similar error for request:
'{'\
'"jsonrpc": "2.0",'\
'"method": "ls",'\
'"id": "b69575e2-b1db-463b-a725-8ba200afea85",'\
'"params": {'\
'"select": "{MODEL_FOLDER}"'\
'}}'

Server response:
{'error': {'code': -32601, 'message': 'Method not found'}, 'id': 'b69575e2-b1db-463b-a725-8ba200afea85', 'jsonrpc': '2.0'}

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.