Remove kernel builder pattern for Python: sk.kernel_create() -> sk.Kernel() (#454)

### Motivation and Context

This PR makes creating a kernel instance more pythonic. The builder
pattern is removed and the kernel is constructed using Kernel(...).

Work originally started with #137

### Description

- Removed kernel_builder.py.
- Instance creation pattern `kernel = sk.create_kernel() -> kernel =
sk.Kernel()`
- For notebook 6, there is no need to create a separate kernel for the
GitHub files. Changed to use a separate collection.


Co-authored-by: Devis Lucato <[email protected]>
This commit is contained in:
Abby Harrison
2023-04-17 11:07:46 -07:00
committed by GitHub
co-authored by Devis Lucato
parent f06a8453ff
commit d9323b573f
23 changed files with 86 additions and 222 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ You should be able to run the example under the [tests](tests) folder.
## Pipeline checks
To run the same checks that run during the GitHub Action build, you can use
this command, from the `python` folder:
this command, from the [python](../python) folder:
poetry run pre-commit run -c .conf/.pre-commit-config.yaml -a