Commit a44bc93
committed
[dg] Fix lib/__init__.py addition for component type scaffolding (BUILD-925) (#29097)
## Summary & Motivation
Fix line added to `<project>/lib/__init__.py`.
Formerly:
```
# extra line
from my_project.lib.shell_command import ShellCommand
```
Now:
```
from my_project.lib.shell_command import ShellCommand as ShellCommand
```
## How I Tested These Changes
Modified a test.
## Changelog
Fix formatting of line added to `project/lib/__init__.py` when
scaffolding a component type.1 parent 705bfd1 commit a44bc93
File tree
3 files changed
+14
-5
lines changed- python_modules/libraries/dagster-dg
- dagster_dg_tests
- cli_tests
- dagster_dg
3 files changed
+14
-5
lines changedLines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
253 | 256 | | |
254 | 257 | | |
255 | 258 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
690 | 691 | | |
691 | 692 | | |
692 | 693 | | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
693 | 697 | | |
694 | 698 | | |
695 | 699 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
299 | 301 | | |
300 | 302 | | |
301 | 303 | | |
| |||
0 commit comments