Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
5ddb181c
Unverified
Commit
5ddb181c
authored
Apr 22, 2025
by
Ryan McCormick
Committed by
GitHub
Apr 22, 2025
Browse files
docs: Custom Backend/Worker Guide (#608)
parent
de77d3f9
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
635 additions
and
1 deletion
+635
-1
deploy/dynamo/sdk/docs/sdk/README.md
deploy/dynamo/sdk/docs/sdk/README.md
+3
-1
docs/backend.md
docs/backend.md
+632
-0
No files found.
deploy/dynamo/sdk/docs/sdk/README.md
View file @
5ddb181c
...
...
@@ -90,7 +90,9 @@ Dynamo follows a class-based architecture similar to BentoML making it intuitive
1.
Class attributes for dependencies using
`depends()`
2.
An
`__init__`
method for standard initialization
3.
Optional lifecycle hooks like
`@async_on_start`
and
`@async_on_shutdown`
4.
Endpoints defined with
`@dynamo_endpoint()`
4.
Endpoints defined with
`@dynamo_endpoint()`
. Optionally, an endpoint can be given a name
via
`@dynamo_endpoint("my_endpoint_name")`
, but otherwise will default to the name of the
function being decorated if omitted.
This approach provides a clean separation of concerns and makes the service structure easy to understand.
...
...
docs/backend.md
0 → 100644
View file @
5ddb181c
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment