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

[CT-1806] [Spike] Measure usage of certain functions(os.environ, os.path) #6587

Closed
ChenyuLInx opened this issue Jan 11, 2023 · 1 comment
Closed
Labels
enhancement New feature or request python_api Issues related to dbtRunner Python entry point

Comments

@ChenyuLInx
Copy link
Contributor

ChenyuLInx commented Jan 11, 2023

After API-ification is merged to main, search in the codebase and figure out where are the following functions still being called in dbt-core after we create the Flags object. Ideally, we would like to get all of those information before Flags are being constructed and store it either inside Flags or some other object.

  • os.path
  • os.envvar
  • functions to read or write files(optional)
@ChenyuLInx ChenyuLInx added enhancement New feature or request triage labels Jan 11, 2023
@github-actions github-actions bot changed the title Measure usage of certain functions(os.environ, os.path) [CT-1806] Measure usage of certain functions(os.environ, os.path) Jan 11, 2023
@jtcohen6
Copy link
Contributor

Closely related, with some more context: #6544 + #6545

We may want different mechanisms for "reading" files (accepting data as inputs), versus "writing" files (publishing data to a log/stream/...)

@jtcohen6 jtcohen6 added python_api Issues related to dbtRunner Python entry point Team:Execution and removed triage labels Jan 12, 2023
@nathaniel-may nathaniel-may changed the title [CT-1806] Measure usage of certain functions(os.environ, os.path) [CT-1806] [Spike] Measure usage of certain functions(os.environ, os.path) Jan 12, 2023
@jtcohen6 jtcohen6 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request python_api Issues related to dbtRunner Python entry point
Projects
None yet
Development

No branches or pull requests

2 participants