Skip to content

Commit

Permalink
[Core] Change SaasOauth to SaasOauth2 runtime (#1237)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankilevitch authored Dec 15, 2024
1 parent 8e0919d commit d204af5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

<!-- towncrier release notes start -->

## 0.15.1 (2024-15-12)

### Bug Fixes

- Changed `SaasOauth` runtime to `SaasOauth2`


## 0.15.0 (2024-12-12)

### Features
Expand Down
4 changes: 2 additions & 2 deletions port_ocean/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@

class Runtime(Enum):
Saas = "Saas"
SaasOauth = "SaasOauth"
SaasOauth2 = "SaasOauth2"
OnPrem = "OnPrem"

@property
def is_saas_runtime(self) -> bool:
return self in [Runtime.Saas, Runtime.SaasOauth]
return self in [Runtime.Saas, Runtime.SaasOauth2]


class Entity(BaseModel):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "port-ocean"
version = "0.15.0"
version = "0.15.1"
description = "Port Ocean is a CLI tool for managing your Port projects."
readme = "README.md"
homepage = "https://app.getport.io"
Expand Down

0 comments on commit d204af5

Please sign in to comment.