Skip to content

Commit d9d7d30

Browse files
feat: Expose POST /projects in public API
1 parent 29bf36f commit d9d7d30

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 112
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-85604d59d55171797ed7e5e60f46532e7825ccfcaf6ee1319284d513f582a9cf.yml
3-
openapi_spec_hash: 9dd204b37a357b19032aea9eb4496645
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-982efd191c23737c9e1cdbcbf9237fa2231b9f74e0a25db2870293bdf9951c21.yml
3+
openapi_spec_hash: eeb27952a4cc939316c24fc0ce2c9e3a
44
config_hash: 08d55086449943a8fec212b870061a3f

src/kernel/resources/projects/projects.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,8 @@ def create(
7070
extra_body: Body | None = None,
7171
timeout: float | httpx.Timeout | None | NotGiven = not_given,
7272
) -> Project:
73-
"""Create a new project within the authenticated organization.
74-
75-
Requires the
76-
projects feature flag.
73+
"""
74+
Create a new project within the authenticated organization.
7775
7876
Args:
7977
name: Project name (1-255 characters)
@@ -299,10 +297,8 @@ async def create(
299297
extra_body: Body | None = None,
300298
timeout: float | httpx.Timeout | None | NotGiven = not_given,
301299
) -> Project:
302-
"""Create a new project within the authenticated organization.
303-
304-
Requires the
305-
projects feature flag.
300+
"""
301+
Create a new project within the authenticated organization.
306302
307303
Args:
308304
name: Project name (1-255 characters)

0 commit comments

Comments
 (0)