Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Baseten SDK
Baseten SDK

API Reference

  • baseten.client
    • AsyncInferenceClient
    • AsyncManagementClient
    • AsyncSandboxClient
    • InferenceClient
    • InferenceClientOptions
    • ManagementClient
    • ManagementClientOptions
    • SandboxClient
    • SandboxClientOptions
    • baseten.client.inferenceapi
      • ApiClient
      • AsyncApiClient
    • baseten.client.managementapi
      • ApiClient
      • AsyncApiClient
    • baseten.client.modelconfig
      • ModelConfig
    • baseten.client.sandboxapi
      • ApiClient
      • ApplyEditRequest
      • ApplyEditResponse
      • ArchiveChange
      • ArchiveManifest
      • AsyncApiClient
      • ContentSearchMatch
      • ContentSearchResponse
      • DeleteFilesystemParams
      • DeleteFilesystemTreeParams
      • DeleteNetworkProcessMonitorResponse
      • Directory
      • DriveListResponse
      • DriveMountInfo
      • DriveMountRequest
      • DriveMountResponse
      • DriveUnmountResponse
      • ErrorResponse
      • ExportOptions
      • ExportProgress
      • ExportResult
      • File
      • FileRequest
      • FileWithContent
      • FilesystemMultipartUpload
      • FilesystemUploadedPart
      • FindMatch
      • FindResponse
      • FuzzySearchMatch
      • FuzzySearchResponse
      • GetCodegenRerankingParams
      • GetFilesystemContentSearchParams
      • GetFilesystemFindParams
      • GetFilesystemParams
      • GetFilesystemResponse
      • GetFilesystemSearchParams
      • GetFilesystemTreeParams
      • GetNetworkProcessPortsResponse
      • GetProcessResponse
      • GetWatchFilesystemParams
      • HandlerReloadResponse
      • HealthResponse
      • MultipartCompleteRequest
      • MultipartInitiateRequest
      • MultipartInitiateResponse
      • MultipartListPartsResponse
      • MultipartListUploadsResponse
      • MultipartPartInfo
      • MultipartUpload
      • MultipartUploadPartResponse
      • PortMonitorRequest
      • PostNetworkProcessMonitorResponse
      • ProcessLogs
      • ProcessRequest
      • ProcessResponse
      • PutFilesystemMultipartPartParams
      • QuiesceStatus
      • RankedFile
      • RerankingResponse
      • RestoreProgress
      • Subdirectory
      • SuccessResponse
      • TreeRequest
      • TunnelConfigRequest
      • UpgradeRequest
      • UpgradeStatus
  • baseten.sandbox
    • AsyncImageClient
    • AsyncSandbox
    • AsyncSandboxClient
    • AsyncSandboxCreateResult
    • AsyncSandboxFileSystem
    • AsyncSandboxPreviews
    • AsyncSandboxProcess
    • AsyncSandboxStream
    • ImageBuilder
    • ImageCleanupResult
    • ImageClient
    • ImageIgnoreFileOptions
    • ImageIgnoreFileProcessorOptions
    • ImageInfo
    • ImageLibraryInfo
    • ImageLibraryVolume
    • ImageLogLine
    • ImageTagInfo
    • Sandbox
    • SandboxClient
    • SandboxClientOptions
    • SandboxCreateResult
    • SandboxEnvValue
    • SandboxExpirationPolicyDate
    • SandboxExpirationPolicyIdle
    • SandboxExpirationPolicyMaxAge
    • SandboxExpirationPolicyUnknown
    • SandboxFileSystem
    • SandboxFileSystemDirectory
    • SandboxFileSystemFileInfo
    • SandboxFileSystemFindMatch
    • SandboxFileSystemFindResult
    • SandboxFileSystemGrepMatch
    • SandboxFileSystemGrepResult
    • SandboxFileSystemOptions
    • SandboxFileSystemSubdirectoryInfo
    • SandboxFileSystemWatchEvent
    • SandboxInfo
    • SandboxLifecycle
    • SandboxNetwork
    • SandboxNetworkProxy
    • SandboxNetworkProxyRoute
    • SandboxPort
    • SandboxPreviewInfo
    • SandboxPreviewTokenInfo
    • SandboxPreviews
    • SandboxProcess
    • SandboxProcessExecEventExit
    • SandboxProcessExecEventOutput
    • SandboxProcessInfo
    • SandboxProcessLogLine
    • SandboxProcessLogs
    • SandboxRetryOptions
    • SandboxStream
    • SandboxTokenProviderContext
    • default_image_ignore_file
Back to top
View this page

SandboxFileSystemGrepResult¶

class baseten.sandbox.SandboxFileSystemGrepResult(*, matches, total)¶

Bases: object

Result of SandboxFileSystem.grep().

Parameters:
  • matches (list[SandboxFileSystemGrepMatch])

  • total (int)

total: int¶

Number of matching lines, which may exceed the matches returned.

Next
SandboxFileSystemOptions
Previous
SandboxFileSystemGrepMatch
Copyright ©
Made with Sphinx and @pradyunsg's Furo
On this page
  • SandboxFileSystemGrepResult
    • SandboxFileSystemGrepResult
      • total