Skip to content

'Generate Model' from source yml feature in Dev containers #218

Answered by mdesmet
DataGobes asked this question in Q&A
Discussion options

You must be logged in to vote

2 points:

  • Without the python interpreter you wouldn't be able to generate a model as we depend on it to fetch the columns of the source relation
  • The Generate model action should be rendered based on the yaml parsing. So not sure what's going on there.

The code is here:

https://github.com/innoverio/vscode-dbt-power-user/blob/e5319556d73574b4800ab5ee30bf1302df9ef5b9/src/code_lens_provider/sourceModelCreationCodeLensProvider.ts#L33

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
6 replies
@mdesmet
Comment options

@DataGobes
Comment options

@mdesmet
Comment options

@mdesmet
Comment options

@DataGobes
Comment options

Answer selected by DataGobes
Comment options

You must be logged in to vote
2 replies
@DataGobes
Comment options

@anandgupta42
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants