question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Changing launcher for InteractiveContext

See original GitHub issue

I’m developing an internal launcher that contains some optimizations for internal usecases (and some instrumentation).

I’ve been able to successfuly make it run by changing the PipelineConfig(supported_launcher_classes=[MyLauncher]) when using the AirflowLauncher and BeamLauncher but it seems that it can’t be changed for InteractiveContext.

I know InteractiveContext is an experimental feature, but looking at the codebase it seems that there’s a reference to enable changing the launcher class.

Wondering if there’s any good way to do this at the moment (or plan to enable this in the near future) or if I should just reimplement InteractiveContext to overwrite the launcher.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
casassgcommented, May 5, 2020

We have an internal launcher that tracks components executions/failures across the company. Allows us (developers) to understand our internal usage (modelers, other engineers) better and track performance of components.

Another use case that I was thinking was to add integrations with internal services (data registration services and/or internal dashboards).

I believe launchers are the best place for this type of customization (better than having to instrument component executors one by one?), and so far we are only missing enabling this in the InteractiveContext.

I will enable it by overwriting the run method in an internal InteractiveContext.

1reaction
1025KBcommented, May 6, 2020

I see, I will keep this as a feature request for supporting different launcher in InteractiveContext

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android Launchers: How to install, change and customise ...
From creating completely custom widgets that look and act the way you want, to changing the size and style of app icons. How...
Read more >
Machine Learning Pipeline with TFX - Deepnote
The CsvExampleGen component from the tfx will be used to ingest the csv data. The train data will be split into train-eval set...
Read more >
Cannot connect to MySQL database in TensorFlow Extended
I am having problems using a MySQL database as a metadata database in a TensorFlow Extended pipeline. I used the penguin template to...
Read more >
Error Messages - IBM
19995 Enterprise Replication error encountered while setting alter mode. ... In this interactive context, you must specify a condition other than CURRENT in ......
Read more >
ACRL News Issue (B) of College & Research Libraries
programmers to code every addition or change. ... a much more interactive context as consumer, ... Author note: Copies of the launcher soft....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found