arcade-core 2.5.0rc1__tar.gz → 3.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (22) hide show
  1. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/.gitignore +3 -0
  2. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/PKG-INFO +2 -2
  3. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/arcade_core/config_model.py +10 -5
  4. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/pyproject.toml +2 -2
  5. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/README.md +0 -0
  6. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/arcade_core/__init__.py +0 -0
  7. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/arcade_core/annotations.py +0 -0
  8. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/arcade_core/auth.py +0 -0
  9. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/arcade_core/catalog.py +0 -0
  10. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/arcade_core/config.py +0 -0
  11. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/arcade_core/context.py +0 -0
  12. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/arcade_core/converters/openai.py +0 -0
  13. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/arcade_core/discovery.py +0 -0
  14. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/arcade_core/errors.py +0 -0
  15. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/arcade_core/executor.py +0 -0
  16. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/arcade_core/output.py +0 -0
  17. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/arcade_core/parse.py +0 -0
  18. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/arcade_core/py.typed +0 -0
  19. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/arcade_core/schema.py +0 -0
  20. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/arcade_core/toolkit.py +0 -0
  21. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/arcade_core/utils.py +0 -0
  22. {arcade_core-2.5.0rc1 → arcade_core-3.0.0}/arcade_core/version.py +0 -0
@@ -173,3 +173,6 @@ cython_debug/
173
173
  # and can be added to the global gitignore or merged into this file. For a more nuclear
174
174
  # option (not recommended) you can uncomment the following to ignore the entire idea folder.
175
175
  #.idea/
176
+
177
+ # Docs
178
+ libs/arcade-mcp-server/site/*
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: arcade-core
3
- Version: 2.5.0rc1
3
+ Version: 3.0.0
4
4
  Summary: Arcade Core - Core library for Arcade platform
5
5
  Author-email: Arcade <dev@arcade.dev>
6
6
  License: MIT
7
- Classifier: Development Status :: 4 - Beta
7
+ Classifier: Development Status :: 5 - Production/Stable
8
8
  Classifier: Intended Audience :: Developers
9
9
  Classifier: License :: OSI Approved :: MIT License
10
10
  Classifier: Programming Language :: Python :: 3
@@ -99,19 +99,24 @@ class Config(BaseConfig):
99
99
  config_file_path = cls.get_config_file_path()
100
100
 
101
101
  if not config_file_path.exists():
102
- # Create a file using the default configuration
103
- default_config = cls.model_construct(api=ApiConfig.model_construct())
104
- default_config.save_to_file()
102
+ raise FileNotFoundError(
103
+ f"Configuration file not found at {config_file_path}. "
104
+ "Please run 'arcade login' to create your configuration."
105
+ )
105
106
 
106
107
  config_data = yaml.safe_load(config_file_path.read_text())
107
108
 
108
109
  if config_data is None:
109
110
  raise ValueError(
110
- "Invalid credentials.yaml file. Please ensure it is a valid YAML file."
111
+ "Invalid credentials.yaml file. Please ensure it is a valid YAML file or"
112
+ "run `arcade logout`, then `arcade login` to start from a clean slate."
111
113
  )
112
114
 
113
115
  if "cloud" not in config_data:
114
- raise ValueError("Invalid credentials.yaml file. Expected a 'cloud' key.")
116
+ raise ValueError(
117
+ "Invalid credentials.yaml file. Expected a 'cloud' key."
118
+ "Run `arcade logout`, then `arcade login` to start from a clean slate."
119
+ )
115
120
 
116
121
  try:
117
122
  return cls(**config_data["cloud"])
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "arcade-core"
3
- version = "2.5.0rc1"
3
+ version = "3.0.0"
4
4
  description = "Arcade Core - Core library for Arcade platform"
5
5
  readme = "README.md"
6
6
  license = {text = "MIT"}
@@ -8,7 +8,7 @@ authors = [
8
8
  {name = "Arcade", email = "dev@arcade.dev"},
9
9
  ]
10
10
  classifiers = [
11
- "Development Status :: 4 - Beta",
11
+ "Development Status :: 5 - Production/Stable",
12
12
  "Intended Audience :: Developers",
13
13
  "License :: OSI Approved :: MIT License",
14
14
  "Programming Language :: Python :: 3",
File without changes