Skip to content

Commit 5e9dab6

Browse files
feat(fastedge): enable fastedge_template for Terraform
1 parent e6e4283 commit 5e9dab6

3 files changed

Lines changed: 25 additions & 9 deletions

File tree

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 655
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gcore%2Fgcore-f6dd37a964034036c85b5a8c100c36bc796b5c6768621e332e406fb46851e664.yml
33
openapi_spec_hash: 2365d9738ce16e3b8dfb49a5db4c9ad2
4-
config_hash: 989b9576ff1b05c3c0f8460f933aa013
4+
config_hash: 568bb8e2f47080956c225b718bf27489

src/gcore/resources/fastedge/fastedge.py

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ class FastedgeResource(SyncAPIResource):
7272

7373
@cached_property
7474
def templates(self) -> TemplatesResource:
75-
"""Application templates"""
75+
"""
76+
FastEdge templates encapsulate reusable configurations for FastEdge applications, including a WebAssembly binary reference and configurable parameters.
77+
"""
7678
return TemplatesResource(self._client)
7779

7880
@cached_property
@@ -153,7 +155,9 @@ class AsyncFastedgeResource(AsyncAPIResource):
153155

154156
@cached_property
155157
def templates(self) -> AsyncTemplatesResource:
156-
"""Application templates"""
158+
"""
159+
FastEdge templates encapsulate reusable configurations for FastEdge applications, including a WebAssembly binary reference and configurable parameters.
160+
"""
157161
return AsyncTemplatesResource(self._client)
158162

159163
@cached_property
@@ -239,7 +243,9 @@ def __init__(self, fastedge: FastedgeResource) -> None:
239243

240244
@cached_property
241245
def templates(self) -> TemplatesResourceWithRawResponse:
242-
"""Application templates"""
246+
"""
247+
FastEdge templates encapsulate reusable configurations for FastEdge applications, including a WebAssembly binary reference and configurable parameters.
248+
"""
243249
return TemplatesResourceWithRawResponse(self._fastedge.templates)
244250

245251
@cached_property
@@ -284,7 +290,9 @@ def __init__(self, fastedge: AsyncFastedgeResource) -> None:
284290

285291
@cached_property
286292
def templates(self) -> AsyncTemplatesResourceWithRawResponse:
287-
"""Application templates"""
293+
"""
294+
FastEdge templates encapsulate reusable configurations for FastEdge applications, including a WebAssembly binary reference and configurable parameters.
295+
"""
288296
return AsyncTemplatesResourceWithRawResponse(self._fastedge.templates)
289297

290298
@cached_property
@@ -329,7 +337,9 @@ def __init__(self, fastedge: FastedgeResource) -> None:
329337

330338
@cached_property
331339
def templates(self) -> TemplatesResourceWithStreamingResponse:
332-
"""Application templates"""
340+
"""
341+
FastEdge templates encapsulate reusable configurations for FastEdge applications, including a WebAssembly binary reference and configurable parameters.
342+
"""
333343
return TemplatesResourceWithStreamingResponse(self._fastedge.templates)
334344

335345
@cached_property
@@ -374,7 +384,9 @@ def __init__(self, fastedge: AsyncFastedgeResource) -> None:
374384

375385
@cached_property
376386
def templates(self) -> AsyncTemplatesResourceWithStreamingResponse:
377-
"""Application templates"""
387+
"""
388+
FastEdge templates encapsulate reusable configurations for FastEdge applications, including a WebAssembly binary reference and configurable parameters.
389+
"""
378390
return AsyncTemplatesResourceWithStreamingResponse(self._fastedge.templates)
379391

380392
@cached_property

src/gcore/resources/fastedge/templates.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333

3434

3535
class TemplatesResource(SyncAPIResource):
36-
"""Application templates"""
36+
"""
37+
FastEdge templates encapsulate reusable configurations for FastEdge applications, including a WebAssembly binary reference and configurable parameters.
38+
"""
3739

3840
@cached_property
3941
def with_raw_response(self) -> TemplatesResourceWithRawResponse:
@@ -314,7 +316,9 @@ def replace(
314316

315317

316318
class AsyncTemplatesResource(AsyncAPIResource):
317-
"""Application templates"""
319+
"""
320+
FastEdge templates encapsulate reusable configurations for FastEdge applications, including a WebAssembly binary reference and configurable parameters.
321+
"""
318322

319323
@cached_property
320324
def with_raw_response(self) -> AsyncTemplatesResourceWithRawResponse:

0 commit comments

Comments
 (0)