Skip to content

Commit 9477dc9

Browse files
committed
improves documentation
1 parent 6bb15f2 commit 9477dc9

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ config.in_runtime()
6262

6363
config.on_enterprise()
6464

65+
config.on_dedicated()
66+
6567
config.on_production()
6668
```
6769

platformshconfig/config.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,10 @@ def get_route(self, route_id):
362362
def application(self):
363363
"""Returns the application definition dict.
364364
365-
This is, approximately, the .platform.app.yaml file as a nested dict. However, it also has other information
366-
added by Platform.sh as part of the build and deploy process.
365+
@deprecated
366+
367+
The Platform.sh "Enterprise" will soon be referred to exclusively as "Dedicated". the `on_enterprise` method remains available for now, but it will be removed in a future version of this library.
368+
It is recommended that you update your projects to use `on_dedicated` as soon as possible.
367369
368370
Returns:
369371
The application definition dict.

0 commit comments

Comments
 (0)