generated from coulomb/repo-seed
CLI and API polish
This commit is contained in:
@@ -48,6 +48,8 @@ from markitect_tool.cache import (
|
||||
from markitect_tool.backend import (
|
||||
BACKEND_CAPABILITIES,
|
||||
DEFAULT_BACKEND_PATHS,
|
||||
DEFAULT_LOCAL_INDEX_PATH,
|
||||
LOCAL_INDEX_SCHEMA_VERSION,
|
||||
AccessPolicyGateway,
|
||||
BackendCapabilityCheck,
|
||||
BackendManifest,
|
||||
@@ -58,6 +60,9 @@ from markitect_tool.backend import (
|
||||
DocumentSnapshot,
|
||||
EMPTY_PARSE_OPTIONS_HASH,
|
||||
IndexBackend,
|
||||
LocalIndexBuildResult,
|
||||
LocalSearchResult,
|
||||
LocalSnapshotStore,
|
||||
ProcessorResultStore,
|
||||
ProvenanceEnvelope,
|
||||
QueryAdapter,
|
||||
@@ -70,6 +75,7 @@ from markitect_tool.backend import (
|
||||
load_backend_manifest,
|
||||
load_backend_registry,
|
||||
load_snapshot_state_file,
|
||||
local_index_path_for,
|
||||
plan_snapshot_refresh,
|
||||
snapshot_identity_for_file,
|
||||
)
|
||||
@@ -82,6 +88,24 @@ from markitect_tool.content_class import (
|
||||
load_content_classes,
|
||||
)
|
||||
from markitect_tool.diagnostics import Diagnostic, SourceLocation
|
||||
from markitect_tool.extension import (
|
||||
ExtensionDependencyCheck,
|
||||
ExtensionDescriptor,
|
||||
ExtensionExecutor,
|
||||
ExtensionLifecycle,
|
||||
ExtensionRegistry,
|
||||
ExtensionRegistryError,
|
||||
ExtensionRunner,
|
||||
OptionalDependency,
|
||||
ProcessingCapability,
|
||||
ProcessingContext,
|
||||
ProcessingDiagnostic,
|
||||
ProcessingProvenance,
|
||||
ProcessingRequest,
|
||||
ProcessingResult,
|
||||
ProcessingTrace,
|
||||
builtin_extension_registry,
|
||||
)
|
||||
from markitect_tool.explode import (
|
||||
EXPLODE_MANIFEST_NAME,
|
||||
ExplodeEntry,
|
||||
@@ -157,9 +181,24 @@ from markitect_tool.processor import (
|
||||
run_fenced_processors,
|
||||
)
|
||||
from markitect_tool.policy import (
|
||||
DecisionLogStore,
|
||||
DirectoryGroupResolution,
|
||||
DirectoryGroupResolutionRequest,
|
||||
DirectoryGroupResolver,
|
||||
EnterpriseIdentity,
|
||||
EnterprisePolicyError,
|
||||
EnterprisePolicyMap,
|
||||
EnterprisePolicyMapRequest,
|
||||
EnterprisePolicyMapper,
|
||||
FlexAuthResource,
|
||||
FlexAuthResourceManifest,
|
||||
IdentityClaimsAdapter,
|
||||
LocalLabelPolicy,
|
||||
LocalLabelPolicyGateway,
|
||||
LocalPathPolicyRule,
|
||||
LocalDecisionLogStore,
|
||||
LocalEnterprisePolicyMapper,
|
||||
NetKingdomIdentityClaimsAdapter,
|
||||
PolicyDecision,
|
||||
PolicyFilterResult,
|
||||
PolicyObject,
|
||||
@@ -168,13 +207,23 @@ from markitect_tool.policy import (
|
||||
RelationshipPolicyRequest,
|
||||
RulePolicyAdapter,
|
||||
RulePolicyRequest,
|
||||
StaticDirectoryGroupResolver,
|
||||
load_enterprise_identity_file,
|
||||
load_enterprise_policy_subject,
|
||||
policy_metadata_from_document,
|
||||
)
|
||||
from markitect_tool.query import (
|
||||
InvalidQueryError,
|
||||
QueryEngine,
|
||||
QueryEngineRegistry,
|
||||
QueryMatch,
|
||||
default_query_engine_registry,
|
||||
extract_document,
|
||||
extract_document_jsonpath,
|
||||
extract_document_with_engine,
|
||||
query_document,
|
||||
query_document_jsonpath,
|
||||
query_document_with_engine,
|
||||
)
|
||||
from markitect_tool.reference import (
|
||||
ContentUnit,
|
||||
@@ -211,6 +260,7 @@ from markitect_tool.schema import (
|
||||
load_schema_file,
|
||||
validate_document,
|
||||
validate_markdown_file,
|
||||
validate_schema,
|
||||
)
|
||||
from markitect_tool.template import (
|
||||
MissingTemplateVariable,
|
||||
@@ -244,6 +294,7 @@ __all__ = [
|
||||
"load_schema_file",
|
||||
"validate_document",
|
||||
"validate_markdown_file",
|
||||
"validate_schema",
|
||||
"ContractCheckResult",
|
||||
"ContractValidationResult",
|
||||
"DocumentContract",
|
||||
@@ -276,6 +327,8 @@ __all__ = [
|
||||
"scan_markdown_files",
|
||||
"BACKEND_CAPABILITIES",
|
||||
"DEFAULT_BACKEND_PATHS",
|
||||
"DEFAULT_LOCAL_INDEX_PATH",
|
||||
"LOCAL_INDEX_SCHEMA_VERSION",
|
||||
"AccessPolicyGateway",
|
||||
"BackendCapabilityCheck",
|
||||
"BackendManifest",
|
||||
@@ -286,6 +339,9 @@ __all__ = [
|
||||
"DocumentSnapshot",
|
||||
"EMPTY_PARSE_OPTIONS_HASH",
|
||||
"IndexBackend",
|
||||
"LocalIndexBuildResult",
|
||||
"LocalSearchResult",
|
||||
"LocalSnapshotStore",
|
||||
"ProcessorResultStore",
|
||||
"ProvenanceEnvelope",
|
||||
"QueryAdapter",
|
||||
@@ -298,6 +354,7 @@ __all__ = [
|
||||
"load_backend_manifest",
|
||||
"load_backend_registry",
|
||||
"load_snapshot_state_file",
|
||||
"local_index_path_for",
|
||||
"plan_snapshot_refresh",
|
||||
"snapshot_identity_for_file",
|
||||
"ClassCompositionResult",
|
||||
@@ -308,6 +365,22 @@ __all__ = [
|
||||
"load_content_classes",
|
||||
"Diagnostic",
|
||||
"SourceLocation",
|
||||
"ExtensionDependencyCheck",
|
||||
"ExtensionDescriptor",
|
||||
"ExtensionExecutor",
|
||||
"ExtensionLifecycle",
|
||||
"ExtensionRegistry",
|
||||
"ExtensionRegistryError",
|
||||
"ExtensionRunner",
|
||||
"OptionalDependency",
|
||||
"ProcessingCapability",
|
||||
"ProcessingContext",
|
||||
"ProcessingDiagnostic",
|
||||
"ProcessingProvenance",
|
||||
"ProcessingRequest",
|
||||
"ProcessingResult",
|
||||
"ProcessingTrace",
|
||||
"builtin_extension_registry",
|
||||
"EXPLODE_MANIFEST_NAME",
|
||||
"ExplodeEntry",
|
||||
"ExplodeError",
|
||||
@@ -370,9 +443,24 @@ __all__ = [
|
||||
"default_processor_registry",
|
||||
"discover_fenced_processors",
|
||||
"run_fenced_processors",
|
||||
"DecisionLogStore",
|
||||
"DirectoryGroupResolution",
|
||||
"DirectoryGroupResolutionRequest",
|
||||
"DirectoryGroupResolver",
|
||||
"EnterpriseIdentity",
|
||||
"EnterprisePolicyError",
|
||||
"EnterprisePolicyMap",
|
||||
"EnterprisePolicyMapRequest",
|
||||
"EnterprisePolicyMapper",
|
||||
"FlexAuthResource",
|
||||
"FlexAuthResourceManifest",
|
||||
"IdentityClaimsAdapter",
|
||||
"LocalLabelPolicy",
|
||||
"LocalLabelPolicyGateway",
|
||||
"LocalPathPolicyRule",
|
||||
"LocalDecisionLogStore",
|
||||
"LocalEnterprisePolicyMapper",
|
||||
"NetKingdomIdentityClaimsAdapter",
|
||||
"PolicyDecision",
|
||||
"PolicyFilterResult",
|
||||
"PolicyObject",
|
||||
@@ -381,11 +469,21 @@ __all__ = [
|
||||
"RelationshipPolicyRequest",
|
||||
"RulePolicyAdapter",
|
||||
"RulePolicyRequest",
|
||||
"StaticDirectoryGroupResolver",
|
||||
"load_enterprise_identity_file",
|
||||
"load_enterprise_policy_subject",
|
||||
"policy_metadata_from_document",
|
||||
"InvalidQueryError",
|
||||
"QueryEngine",
|
||||
"QueryEngineRegistry",
|
||||
"QueryMatch",
|
||||
"default_query_engine_registry",
|
||||
"extract_document",
|
||||
"extract_document_jsonpath",
|
||||
"extract_document_with_engine",
|
||||
"query_document",
|
||||
"query_document_jsonpath",
|
||||
"query_document_with_engine",
|
||||
"ContentUnit",
|
||||
"ReferenceAddress",
|
||||
"ReferenceContext",
|
||||
|
||||
Reference in New Issue
Block a user