port-labs / ocean

🌊 Ocean 🌊 is an innovative solution developed by Port to seamlessly integrate various third-party systems with our developer portal product, empowering engineers to effortlessly prioritize key features and streamline the integration process.
https://ocean.getport.io
Apache License 2.0
118 stars 51 forks source link

Pydantic fail cli #915

Closed yairsimantov20 closed 2 months ago

yairsimantov20 commented 2 months ago

Description

What - The ocean cli is failing in any folder that dont contain a pyproject.toml folder Why - The cli imports is causing one of the ocean setting models to check for the pyproject.toml file on the init How - initiating the problematic model with default factory instead

Type of change