@@ -271,34 +271,32 @@ async def wait_for_namespace(
271271 async def create_namespace (
272272 self ,
273273 * ,
274- activate_vpc_integration : bool ,
275274 region : Optional [ScwRegion ] = None ,
276275 name : Optional [str ] = None ,
277276 environment_variables : Optional [dict [str , str ]] = None ,
278277 project_id : Optional [str ] = None ,
279278 description : Optional [str ] = None ,
280279 secret_environment_variables : Optional [list [Secret ]] = None ,
281280 tags : Optional [list [str ]] = None ,
281+ activate_vpc_integration : Optional [bool ] = None ,
282282 ) -> Namespace :
283283 """
284284 Create a new namespace.
285285 Create a new namespace in a specified Organization or Project.
286- :param activate_vpc_integration: Setting this field to true doesn't matter anymore. It will be removed in a near future.
287286 :param region: Region to target. If none is passed will use default region from the config.
288287 :param name:
289288 :param environment_variables: Environment variables of the namespace.
290289 :param project_id: UUID of the project in which the namespace will be created.
291290 :param description: Description of the namespace.
292291 :param secret_environment_variables: Secret environment variables of the namespace.
293292 :param tags: Tags of the Serverless Function Namespace.
293+ :param activate_vpc_integration: Setting this field to true doesn't matter anymore. It will be removed in a near future.
294294 :return: :class:`Namespace <Namespace>`
295295
296296 Usage:
297297 ::
298298
299- result = await api.create_namespace(
300- activate_vpc_integration=False,
301- )
299+ result = await api.create_namespace()
302300 """
303301
304302 param_region = validate_path_param (
@@ -310,14 +308,14 @@ async def create_namespace(
310308 f"/functions/v1beta1/regions/{ param_region } /namespaces" ,
311309 body = marshal_CreateNamespaceRequest (
312310 CreateNamespaceRequest (
313- activate_vpc_integration = activate_vpc_integration ,
314311 region = region ,
315312 name = name or random_name (prefix = "ns" ),
316313 environment_variables = environment_variables ,
317314 project_id = project_id ,
318315 description = description ,
319316 secret_environment_variables = secret_environment_variables ,
320317 tags = tags ,
318+ activate_vpc_integration = activate_vpc_integration ,
321319 ),
322320 self .client ,
323321 ),
0 commit comments