validate_framework_config
Public callable
Validate and normalize framework configuration input.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config
|
FrameworkConfig | dict[str, Any]
|
Existing framework config object or compatible mapping containing all required component configs. |
required |
Returns:
| Type | Description |
|---|---|
FrameworkConfig
|
Normalized, validated framework config object. |
Raises:
| Type | Description |
|---|---|
ValueError
|
Raised when required sections are missing, component types are invalid, or configured path targets are incomplete. |
Notes
Validation checks configuration shape and required Housepath-style fields. It does not perform external IO or provision Fabric resources.
Examples:
>>> normalized = validate_framework_config(framework_config)
>>> isinstance(normalized, FrameworkConfig)
True
Source code in src/fabricops_kit/config.py
433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 | |