Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpc v0.3.3 cannot process the "list" command #153

Open
likepyt opened this issue Jul 27, 2024 · 0 comments
Open

rpc v0.3.3 cannot process the "list" command #153

likepyt opened this issue Jul 27, 2024 · 0 comments

Comments

@likepyt
Copy link

likepyt commented Jul 27, 2024

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'}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant