Skip to content

Commit 9bf3445

Browse files
authored
move examples to SDK (#218)
1 parent de448ba commit 9bf3445

119 files changed

Lines changed: 2 additions & 7453 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy-examples.yml

Lines changed: 0 additions & 139 deletions
This file was deleted.

.github/workflows/sync-package.yml

Lines changed: 0 additions & 62 deletions
This file was deleted.

.github/workflows/update-sam-template.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,5 @@ dist/
3333

3434
.durable_executions
3535

36-
examples/build/*
37-
examples/*.zip
38-
3936
durable-executions.db*
4037
.coverage

CONTRIBUTING.md

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -121,47 +121,6 @@ Mimic the package structure in the src/aws_durable_execution_sdk_python director
121121
Name your module so that src/mypackage/mymodule.py has a dedicated unit test file
122122
tests/mypackage/mymodule_test.py
123123

124-
## Examples and Deployment
125-
126-
The project includes a unified CLI tool for managing examples, deployment, and AWS account setup:
127-
128-
### Bootstrap AWS Account
129-
```bash
130-
# Set up IAM role and KMS key for durable functions
131-
export AWS_ACCOUNT_ID=your-account-id
132-
hatch run examples:bootstrap
133-
```
134-
135-
### Build and Deploy Examples
136-
```bash
137-
# Build all examples with dependencies
138-
hatch run examples:build
139-
140-
# Generate SAM template for all examples
141-
hatch run examples:generate-sam
142-
143-
# List available examples
144-
hatch run examples:list
145-
146-
# Deploy specific example (when durable functions are available)
147-
hatch run examples:deploy "Hello World"
148-
```
149-
150-
### Other CLI Commands
151-
```bash
152-
# Invoke deployed function
153-
hatch run examples:invoke function-name --payload '{}'
154-
155-
# Get execution details
156-
hatch run examples:get execution-arn
157-
158-
# Get execution history
159-
hatch run examples:history execution-arn
160-
161-
# Clean build artifacts
162-
hatch run examples:clean
163-
```
164-
165124
## Coverage
166125
```
167126
hatch run test:cov
@@ -244,7 +203,6 @@ fix: resolve memory leak in execution state
244203
docs: update API documentation for context
245204
test: add integration tests for parallel exec
246205
feat(sdk): implement new callback functionality
247-
fix(examples): correct timeout handling
248206
```
249207

250208
**Requirements:**

0 commit comments

Comments
 (0)