Commit Graph

3390 Commits

Author SHA1 Message Date
mauwii
8dc56471ef
fix compel version in pyproject.toml 2023-02-26 22:08:07 +01:00
mauwii
282ba201d2
Revert "parent 9eed1919c2071f9199996df747c8638c4a75e8fb"
This reverts commit 357601e2d6.
2023-02-26 21:54:13 +01:00
mauwii
2394f6458f
Revert "[nodes] Removed InvokerServices, simplying service model"
This reverts commit 81fd2ee8c1.
2023-02-26 21:54:06 +01:00
mauwii
47c1be3322
Revert "doc(invoke_ai_web_server): put docstrings inside their functions"
This reverts commit 1e7a6dc676.
2023-02-26 21:53:38 +01:00
mauwii
3aab5e7e20
update .editorconfig
- set `max_line_length = 88` for .py
2023-02-26 21:28:00 +01:00
Kevin Turner
1e7a6dc676
doc(invoke_ai_web_server): put docstrings inside their functions
Documentation strings are the first thing inside the function body.
https://docs.python.org/3/tutorial/controlflow.html#defining-functions
2023-02-26 21:28:00 +01:00
Kyle Schouviller
81fd2ee8c1
[nodes] Removed InvokerServices, simplying service model 2023-02-26 21:28:00 +01:00
Kyle Schouviller
357601e2d6
parent 9eed1919c2
author Kyle Schouviller <kyle0654@hotmail.com> 1669872800 -0800
committer Kyle Schouviller <kyle0654@hotmail.com> 1676240900 -0800

Adding base node architecture

Fix type annotation errors

Runs and generates, but breaks in saving session

Fix default model value setting. Fix deprecation warning.

Fixed node api

Adding markdown docs

Simplifying Generate construction in apps

[nodes] A few minor changes (#2510)

* Pin api-related requirements

* Remove confusing extra CORS origins list

* Adds response models for HTTP 200

[nodes] Adding graph_execution_state to soon replace session. Adding tests with pytest.

Minor typing fixes

[nodes] Fix some small output query hookups

[node] Fixing some additional typing issues

[nodes] Move and expand graph code. Add base item storage and sqlite implementation.

Update startup to match new code

[nodes] Add callbacks to item storage

[nodes] Adding an InvocationContext object to use for invocations to provide easier extensibility

[nodes] New execution model that handles iteration

[nodes] Fixing the CLI

[nodes] Adding a note to the CLI

[nodes] Split processing thread into separate service

[node] Add error message on node processing failure

Removing old files and duplicated packages

Adding python-multipart
2023-02-26 21:28:00 +01:00
mauwii
71ff759692
minor improvement to mermaid diagrams 2023-02-26 21:28:00 +01:00
mauwii
b0657d5fde
just4fun 2023-02-26 21:27:59 +01:00
mauwii
fa391c0b78
fix pyproject.toml
- add missing asterisk for backend package
- remove old comment
2023-02-26 21:27:47 +01:00
mauwii
6082aace6d
update docs/help/contributing/010_PULL_REQUEST
- prepend brand icons on tabs
2023-02-26 21:27:02 +01:00
mauwii
7ef63161ba
add icons to some docs
- this also reformated `docs/index.md`
2023-02-26 21:27:02 +01:00
mauwii
b731b55de4
update title in docs/help/contributing/index.md 2023-02-26 21:27:02 +01:00
mauwii
51956ba356
update vs-code.md, fix docs/help/index.md 2023-02-26 21:27:02 +01:00
mauwii
f494077003
enable content.code.copy
- to get a handy copy button in code blocks
- also sort the features alphabetically
2023-02-26 21:27:02 +01:00
mauwii
317165c410
remove previous attempt for contributing docs 2023-02-26 21:27:02 +01:00
mauwii
f5aadbc200
rename docs/help/contributing`
- update vs-code.md
- update 30_DOCS.md
2023-02-26 21:27:02 +01:00
mauwii
774230f7b9
re-format docs/features/index.md 2023-02-26 21:27:02 +01:00
mauwii
72e25d99c7
add docs/help/contribute/030_DOCS.md 2023-02-26 21:27:02 +01:00
mauwii
7c7c1ba02d
add docs/help/index.md 2023-02-26 21:27:01 +01:00
mauwii
9c6af74556
add docs/help/IDE-Settings 2023-02-26 21:27:01 +01:00
mauwii
57daa3e1c2
re-ignore .vscode 2023-02-26 21:27:01 +01:00
mauwii
ce98fdc5c4
after some complaints reomove .vscode
I still think they would be beneficial, but to lazy to re-discuss this
2023-02-26 21:27:01 +01:00
mauwii
f901645c12
use pip517 2023-02-26 21:27:01 +01:00
mauwii
f514f17e92
add variables to define:
- repo_url
- repo_name
- site_url
2023-02-26 21:27:01 +01:00
mauwii
8744dd0c46
fix edit_uri in mkdocs.yml 2023-02-26 21:27:01 +01:00
mauwii
f3d669319e
get rid of requirements-mkdocs.txt 2023-02-26 21:27:01 +01:00
mauwii
ace7032067
add docs/help/contribute/issues, update index 2023-02-26 21:27:01 +01:00
mauwii
d32819875a
fix docs/requirements-mkdocs.txt 2023-02-26 21:27:01 +01:00
mauwii
5b5898827c
update vscode settings 2023-02-26 21:27:00 +01:00
mauwii
8a233174de
update MkDocs-Material to v9 2023-02-26 21:27:00 +01:00
mauwii
bec81170b5
move contribution docs to help section, add index 2023-02-26 21:27:00 +01:00
mauwii
2f25363d76
update "how to contribute" doc and md indentation 2023-02-26 21:27:00 +01:00
mauwii
2aa5688d90
update docs/.markdownlint.jsonc
- disable ul-indent
- disable list-marker-space
2023-02-26 21:27:00 +01:00
mauwii
ed06a70eca
add pre-commit hook no-commit-to-branch
additional layer to prevent accidential commits directly to main branch
2023-02-26 21:27:00 +01:00
mauwii
e80160f8dd
update config of black and isort
black:
- extend-exclude legacy scripts
- config for python 3.9 as long as we support it
isort:
- set atomic to true to only apply if no syntax errors are introduced
- config for python 3.9 as long as we support it
- extend_skib_glob legacy scripts
- filter_files
- match line_length with black
- remove_redundant_aliases
- skip_gitignore
- set src paths
- include virtual_env to detect third party modules
2023-02-26 21:27:00 +01:00
mauwii
bfe64b1510
allign prettierrc with config in frontend 2023-02-26 21:27:00 +01:00
mauwii
bb1769abab
remove non working .editorconfig entrys 2023-02-26 21:27:00 +01:00
mauwii
e3f906e90d
update .flake8 - use extend-exclude
so that default excludes are not overwritten
2023-02-26 21:27:00 +01:00
mauwii
d77dc68119
better config of pre-commit hooks:
- better order of hooks
- add flake8-comprehensions and flake8-simplify
- remove unecesarry hooks which are covered by previous hooks
- add hooks
  - check-executables-have-shebangs
  - check-shebang-scripts-are-executable
2023-02-26 21:27:00 +01:00
mauwii
ee3d695e2e
remove command from json to be compliant 2023-02-26 21:27:00 +01:00
mauwii
0443befd2f
update pyproject.toml and vscode settings 2023-02-26 21:26:59 +01:00
mauwii
b4fd02b910
add more hooks, reorder hooks, update .flake8 2023-02-26 21:26:59 +01:00
mauwii
4e0fe4ad6e
update black / flake8 related settings
- add flake8-black to dev extras
- update `.flake8`
- update flake8 pre-commit hook
2023-02-26 21:26:59 +01:00
mauwii
3231499992
update .vscode settings and extensions 2023-02-26 21:26:59 +01:00
mauwii
c134161a45
update .editorconfig 2023-02-26 21:26:59 +01:00
mauwii
c3f533f20f
update .pre-commit-config.yaml 2023-02-26 21:26:59 +01:00
mauwii
519a9071a8
add "How to contribute" to docs
- not yet finished
2023-02-26 21:26:59 +01:00
mauwii
87b4663026
add /docs/.markdownlint.jsonc
- for now only disable `MD046`
2023-02-26 21:26:59 +01:00