Skip to content

Add project type option to create and patch projects - #112

Merged
manylon merged 1 commit into
masterfrom
QF-8182-add-project-type
Aug 4, 2026
Merged

Add project type option to create and patch projects#112
manylon merged 1 commit into
masterfrom
QF-8182-add-project-type

Conversation

@manylon

@manylon manylon commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Adds a --project-type option to create-project and patch-project in CLI and a corresponding project_type parameter to Client.create_project and Client.patch_project in SDK , with a new ProjectType enum with "regular", "shared_datasets", and "template" values.

@duke-nyuki

Copy link
Copy Markdown
Collaborator

Task linked: QF-8182 Add a new "template" project type

@manylon
manylon force-pushed the QF-8182-add-project-type branch from 1e162df to 32beb1f Compare August 3, 2026 07:08
@manylon
manylon requested a review from suricactus August 3, 2026 07:09

@suricactus suricactus left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! A few things to consider changing.

Comment thread qfieldcloud_sdk/cli.py Outdated
Comment thread qfieldcloud_sdk/sdk.py Outdated
Comment thread qfieldcloud_sdk/sdk.py Outdated
Comment thread qfieldcloud_sdk/cli.py Outdated
Comment thread qfieldcloud_sdk/sdk.py Outdated
- add `--project-type` option to `create-project` and `patch-project` CLI commands
- add `project_type` parameter to `Client.create_project` and `Client.patch_project` in the SDK
- introduce a new `ProjectType` enum with regular, shared_datasets, and template values
@manylon
manylon force-pushed the QF-8182-add-project-type branch from 6cf1b6c to d7e4ae4 Compare August 4, 2026 20:53
@manylon

manylon commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the review @suricactus

@manylon
manylon merged commit fc710ea into master Aug 4, 2026
9 checks passed
@manylon
manylon deleted the QF-8182-add-project-type branch August 4, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants