Commit e6a7c50
authored
Update Python katas to latest version of EduTools and Beam 2.41 (#23180)
* Remove automatically generated files
The files *-remote-info.yaml are automatically generated by Edutools when a new
version of the course is generated (e.g. new package created for offline
distribution, or when a new version is uploaded to the courses marketplace).
* Update Python katas to latest version of EduTools
With the latest versions of the EduTools plugin, the previous katas stopped
working, and this made it impossible to release new versions of the
katas (e.g. after a new Beam release).
The main change is in the testing method. EduTools now uses Python's unittest
for checking the exercises.
I have also re-organized some of the katas (e.g. windowing and triggers are now
under the Streaming category), and updated the katas to Beam 2.41.
* Add missing license headers1 parent 31dab81 commit e6a7c50
269 files changed
Lines changed: 2468 additions & 1712 deletions
File tree
- learning/katas/python
- Common Transforms
- Aggregation
- Count
- tests
- Largest
- tests
- Mean
- tests
- Smallest
- tests
- Sum
- tests
- Filter
- Filter
- tests
- ParDo
- tests
- WithKeys
- WithKeys
- tests
- Core Transforms
- Branching
- Branching
- tests
- CoGroupByKey
- CoGroupByKey
- tests
- Combine
- Combine PerKey
- tests
- CombineFn
- tests
- Simple Function
- tests
- Composite Transform
- Composite Transform
- tests
- Flatten
- Flatten
- tests
- GroupByKey
- GroupByKey
- tests
- Map
- FlatMap
- tests
- Map
- tests
- ParDo OneToMany
- tests
- ParDo
- tests
- Partition
- Partition
- tests
- Side Input
- Side Input
- tests
- Side Output
- Side Output
- tests
- Examples
- Word Count
- Word Count
- tests
- IO
- Built-in IOs
- Built-in IOs
- TextIO
- ReadFromText
- tests
- Introduction
- Hello Beam
- Hello Beam
- tests
- Streaming
- Timestamps
- Add Timestamps
- tests
- Triggers
- Early Triggers
- tests
- Event Time Triggers
- tests
- Window Accumulation Modes
- tests
- Windows
- Fixed Windows
- tests
- Triggers
- Early Triggers
- Early Triggers
- Event Time Triggers
- Event Time Triggers
- Window Accumulation Mode
- Window Accumulation Mode
- Windowing
- Adding Timestamp
- ParDo
- Fixed Time Window
- Fixed Time Window
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
Lines changed: 0 additions & 33 deletions
This file was deleted.
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
0 commit comments