uid stringlengths 24 24 | split stringclasses 1
value | category stringclasses 2
values | content stringlengths 5 482k | signature stringlengths 1 14k | suffix stringlengths 1 482k | prefix stringlengths 9 14k | prefix_token_count int64 3 5.01k | prefix_token_budget int64 64 256 | element_token_count int64 1 292k | signature_token_count int64 1 5.01k | prefix_context_token_count int64 0 255 | repo stringlengths 7 112 | path stringlengths 4 208 | language stringclasses 1
value | name stringlengths 1 218 | qualname stringlengths 1 218 | start_line int64 1 26.7k | end_line int64 1 26.7k | signature_start_line int64 1 26.7k | signature_end_line int64 1 26.7k | source_hash stringlengths 40 40 | source_dataset stringclasses 1
value | source_split stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2e8d453ef434f836c076d11c | train | class | class TagKey(BaseModel):
__root__: Annotated[str, Field(max_length=128, min_length=1)]
| class TagKey(BaseModel):
| __root__: Annotated[str, Field(max_length=128, min_length=1)]
| ge=0.0)]
class ColumnRange(BaseModel):
__root__: Annotated[int, Field(ge=0.0, le=20.0)]
class TagResourceResponse(BaseModel):
pass
class UntagResourceResponse(TagResourceResponse):
pass
class TagKey(BaseModel):
| 64 | 64 | 25 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | TagKey | TagKey | 121 | 122 | 121 | 121 | 0502f44983c35a4de59486ff5d739a01ba558c50 | bigcode/the-stack | train |
e9a6bcc49d97a1725ce517af | train | class | class JobNameList(BaseModel):
__root__: Annotated[List[JobName], Field(max_items=50)]
| class JobNameList(BaseModel):
| __root__: Annotated[List[JobName], Field(max_items=50)]
| TagMap] = None
class RecipeReference(BaseModel):
"""
Represents the name and version of a DataBrew recipe.
"""
Name: RecipeName
RecipeVersion: Optional[RecipeVersion] = None
class RecipeDescription(ConditionValue):
pass
class JobNameList(BaseModel):
| 64 | 64 | 24 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | JobNameList | JobNameList | 318 | 319 | 318 | 318 | ad33c5a6fd490530a021a33f3fa3ffa14c49d428 | bigcode/the-stack | train |
9061cfe9f430a5ca776a9541 | train | class | class SampleType(Enum):
FIRST_N = 'FIRST_N'
LAST_N = 'LAST_N'
RANDOM = 'RANDOM'
| class SampleType(Enum):
| FIRST_N = 'FIRST_N'
LAST_N = 'LAST_N'
RANDOM = 'RANDOM'
| FULL_DATASET = 'FULL_DATASET'
CUSTOM_ROWS = 'CUSTOM_ROWS'
class JobSize(BaseModel):
__root__: int
class SampleSize(BaseModel):
__root__: Annotated[int, Field(ge=1.0, le=5000.0)]
class SampleType(Enum):
| 63 | 64 | 28 | 5 | 58 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | SampleType | SampleType | 74 | 77 | 74 | 74 | 5e1931d1fc91f619fcf3f1849195cc7e132bd75d | bigcode/the-stack | train |
09c4d0c7b5ce4691841fe57d | train | class | class OrderedBy(Enum):
LAST_MODIFIED_DATE = 'LAST_MODIFIED_DATE'
| class OrderedBy(Enum):
| LAST_MODIFIED_DATE = 'LAST_MODIFIED_DATE'
| ated[
str, Field(max_length=1024, min_length=4, regex='^[<>0-9A-Za-z_:)(!= ]+$')
]
class MaxFiles(BaseModel):
__root__: Annotated[int, Field(ge=1.0)]
class OrderedBy(Enum):
| 63 | 64 | 17 | 5 | 58 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | OrderedBy | OrderedBy | 538 | 539 | 538 | 538 | 02d27d3bdd9be2877ec280780615ea63f153485a | bigcode/the-stack | train |
176874495a05f25c1cee5f79 | train | class | class Input(BaseModel):
"""
Represents information on how DataBrew can find data, in either the Glue Data Catalog or Amazon S3.
"""
S3InputDefinition: Optional[S3Location] = None
DataCatalogInputDefinition: Optional[DataCatalogInputDefinition] = None
DatabaseInputDefinition: Optional[DatabaseIn... | class Input(BaseModel):
| """
Represents information on how DataBrew can find data, in either the Glue Data Catalog or Amazon S3.
"""
S3InputDefinition: Optional[S3Location] = None
DataCatalogInputDefinition: Optional[DataCatalogInputDefinition] = None
DatabaseInputDefinition: Optional[DatabaseInputDefinition] = None
|
class ColumnStatisticsConfiguration(BaseModel):
"""
Configuration for column evaluations for a profile job. ColumnStatisticsConfiguration can be used to select evaluations and override parameters of evaluations for particular columns.
"""
Selectors: Optional[ColumnSelectorList] = None
Statistics... | 64 | 64 | 76 | 5 | 58 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | Input | Input | 984 | 991 | 984 | 984 | 82d1e52a616300a638eff40a18fdc44165c5b15a | bigcode/the-stack | train |
92266098d0e411168cf9d8c6 | train | class | class TagKeyList(BaseModel):
__root__: Annotated[List[TagKey], Field(max_items=200, min_items=1)]
| class TagKeyList(BaseModel):
| __root__: Annotated[List[TagKey], Field(max_items=200, min_items=1)]
| a particular evaluation for a profile job.
"""
Statistic: Statistic
Parameters: ParameterMap
class StatisticOverrideList(BaseModel):
__root__: Annotated[List[StatisticOverride], Field(min_items=1)]
class StopJobRunRequest(BaseModel):
pass
class TagKeyList(BaseModel):
| 64 | 64 | 29 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | TagKeyList | TagKeyList | 737 | 738 | 737 | 737 | 7ca22b161e390b98a779a59829e2ae2b3f03925b | bigcode/the-stack | train |
6445a7ee50f87c8509e952ac | train | class | class PublishRecipeRequest(BaseModel):
Description: Optional[RecipeDescription] = None
| class PublishRecipeRequest(BaseModel):
| Description: Optional[RecipeDescription] = None
|
Sample: Optional[Sample] = None
Tags: Optional[TagMap] = None
RoleArn: Optional[Arn] = None
OpenedBy: Optional[OpenedBy] = None
OpenDate: Optional[Date] = None
class PublishRecipeRequest(BaseModel):
| 64 | 64 | 18 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | PublishRecipeRequest | PublishRecipeRequest | 663 | 664 | 663 | 663 | f26f9d89008e870cca717c09969e5c8166e1368c | bigcode/the-stack | train |
dbdc774dd54abead159f83c4 | train | class | class MaxCapacity(JobSize):
pass
| class MaxCapacity(JobSize):
| pass
| .allow
class EncryptionKeyArn(Arn):
pass
class EncryptionMode(Enum):
SSE_KMS = 'SSE-KMS'
SSE_S3 = 'SSE-S3'
class LogSubscription(Enum):
ENABLE = 'ENABLE'
DISABLE = 'DISABLE'
class MaxCapacity(JobSize):
| 64 | 64 | 9 | 6 | 58 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | MaxCapacity | MaxCapacity | 262 | 263 | 262 | 262 | fbcc711d0f7915be42cc6e76c2fe9c508bac8cb9 | bigcode/the-stack | train |
dee2932e7c7c966024984bc0 | train | class | class OverwriteOutput(AssumeControl):
pass
| class OverwriteOutput(AssumeControl):
| pass
| Represents a set of options that define how DataBrew will write a comma-separated value (CSV) file.
"""
Delimiter: Optional[Delimiter] = None
class DatabaseName(RecipeName):
pass
class TableName(RecipeName):
pass
class OverwriteOutput(AssumeControl):
| 64 | 64 | 12 | 9 | 54 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | OverwriteOutput | OverwriteOutput | 365 | 366 | 365 | 365 | 4a871fda7a146a8201a398e1a4d673e960106161 | bigcode/the-stack | train |
214d2d9a23f8c3016906fccb | train | class | class Bucket(BaseModel):
__root__: Annotated[str, Field(max_length=63, min_length=3)]
| class Bucket(BaseModel):
| __root__: Annotated[str, Field(max_length=63, min_length=3)]
| """
pass
class Config:
extra = Extra.allow
class TagValue(BaseModel):
__root__: Annotated[str, Field(max_length=256)]
class AccessDeniedException(ConflictException):
pass
class ServiceQuotaExceededException(ConflictException):
pass
class Bucket(BaseModel):
| 64 | 64 | 24 | 5 | 58 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | Bucket | Bucket | 53 | 54 | 53 | 53 | ef49fb47f4944cc676c12ffaea49634293e2d708 | bigcode/the-stack | train |
4633a5a60c9c8c08c956c39a | train | class | class ListProjectsRequest(BaseModel):
pass
| class ListProjectsRequest(BaseModel):
| pass
| Token(BaseModel):
__root__: Annotated[str, Field(max_length=2000, min_length=1)]
class ListDatasetsRequest(BaseModel):
pass
class ListJobRunsRequest(BaseModel):
pass
class ListJobsRequest(BaseModel):
pass
class ListProjectsRequest(BaseModel):
| 64 | 64 | 10 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ListProjectsRequest | ListProjectsRequest | 578 | 579 | 578 | 578 | aa4193f10309d5a748289541842ac400eb8c11cd | bigcode/the-stack | train |
d3ca7f286de9590c4e39c398 | train | class | class CreatedBy(BaseModel):
__root__: str
| class CreatedBy(BaseModel):
| __root__: str
| =1)]
class ScheduleName(RecipeName):
pass
class CreateScheduleRequest(BaseModel):
JobNames: Optional[JobNameList] = None
CronExpression: CronExpression
Tags: Optional[TagMap] = None
Name: ScheduleName
class CreatedBy(BaseModel):
| 64 | 64 | 12 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | CreatedBy | CreatedBy | 337 | 338 | 337 | 337 | 025587f716e7739611ffe9e3fc397686c2e75a8a | bigcode/the-stack | train |
70995ee7e363409bc491c088 | train | class | class CreateProfileJobResponse(DeleteJobResponse):
pass
| class CreateProfileJobResponse(DeleteJobResponse):
| pass
| limit imposed on number of Amazon S3 files that should be selected for a dataset from a connected Amazon S3 path.
"""
MaxFiles: MaxFiles
OrderedBy: Optional[OrderedBy] = None
Order: Optional[Order] = None
class CreateProfileJobResponse(DeleteJobResponse):
| 64 | 64 | 12 | 9 | 54 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | CreateProfileJobResponse | CreateProfileJobResponse | 835 | 836 | 835 | 835 | 342ed45877e04dd41efd70aa369fa7a0f07d5686 | bigcode/the-stack | train |
37e05bbea7927daa553d54b4 | train | class | class BatchDeleteRecipeVersionRequest(BaseModel):
RecipeVersions: RecipeVersionList
| class BatchDeleteRecipeVersionRequest(BaseModel):
| RecipeVersions: RecipeVersionList
| _length=20)]
class AssumeControl(BaseModel):
__root__: bool
class Attempt(JobSize):
pass
class RecipeVersionList(BaseModel):
__root__: Annotated[List[RecipeVersion], Field(max_items=50, min_items=1)]
class BatchDeleteRecipeVersionRequest(BaseModel):
| 63 | 64 | 17 | 9 | 54 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | BatchDeleteRecipeVersionRequest | BatchDeleteRecipeVersionRequest | 161 | 162 | 161 | 161 | 42952bc3b52716e1598aad6fba69addfdfef64de | bigcode/the-stack | train |
e70ddd58ff62518f547a957f | train | class | class DeleteRecipeVersionResponse(BaseModel):
Name: RecipeName
RecipeVersion: RecipeVersion
| class DeleteRecipeVersionResponse(BaseModel):
| Name: RecipeName
RecipeVersion: RecipeVersion
| __: Annotated[str, Field(max_length=255, min_length=1)]
class JobName(BaseModel):
__root__: Annotated[str, Field(max_length=240, min_length=1)]
class DeleteJobResponse(BaseModel):
Name: JobName
class DeleteRecipeVersionResponse(BaseModel):
| 64 | 64 | 21 | 8 | 55 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | DeleteRecipeVersionResponse | DeleteRecipeVersionResponse | 96 | 98 | 96 | 96 | 5d5d04ed304cee496da758af617d5eaa35c6f7dc | bigcode/the-stack | train |
051cdd6d135a2d99cce03640 | train | class | class JobRunState(Enum):
STARTING = 'STARTING'
RUNNING = 'RUNNING'
STOPPING = 'STOPPING'
STOPPED = 'STOPPED'
SUCCEEDED = 'SUCCEEDED'
FAILED = 'FAILED'
TIMEOUT = 'TIMEOUT'
| class JobRunState(Enum):
| STARTING = 'STARTING'
RUNNING = 'RUNNING'
STOPPING = 'STOPPING'
STOPPED = 'STOPPED'
SUCCEEDED = 'SUCCEEDED'
FAILED = 'FAILED'
TIMEOUT = 'TIMEOUT'
| ):
PROFILE = 'PROFILE'
RECIPE = 'RECIPE'
class JobRunId(RecipeName):
pass
class DescribeJobRunRequest(BaseModel):
pass
class JobRunErrorMessage(CreatedBy):
pass
class ExecutionTime(JobSize):
pass
class JobRunState(Enum):
| 64 | 64 | 60 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | JobRunState | JobRunState | 473 | 480 | 473 | 473 | ab36cc84e5994dc42dc277b959017fd2867082a0 | bigcode/the-stack | train |
ccc785139f02b7f77faae548 | train | class | class ParameterValue(BaseModel):
__root__: Annotated[str, Field(max_length=32768, min_length=1)]
| class ParameterValue(BaseModel):
| __root__: Annotated[str, Field(max_length=32768, min_length=1)]
| XML'
TABLEAUHYPER = 'TABLEAUHYPER'
class OutputFormatOptions(BaseModel):
"""
Represents a set of options that define the structure of comma-separated (CSV) job output.
"""
Csv: Optional[CsvOutputOptions] = None
class ParameterValue(BaseModel):
| 64 | 64 | 26 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ParameterValue | ParameterValue | 621 | 622 | 621 | 621 | 6e7b7f3953308ca3cd1fa57dae75b9f82eb47972 | bigcode/the-stack | train |
f7e0aec29dd622d314f73d16 | train | class | class OpenedBy(CreatedBy):
pass
| class OpenedBy(CreatedBy):
| pass
| ING'
READY = 'READY'
RECYCLING = 'RECYCLING'
ROTATING = 'ROTATING'
TERMINATED = 'TERMINATED'
TERMINATING = 'TERMINATING'
UPDATING = 'UPDATING'
class OpenedBy(CreatedBy):
| 64 | 64 | 11 | 8 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | OpenedBy | OpenedBy | 508 | 509 | 508 | 508 | ac561f14e082f01c1c4458b87fea9470f1c09ece | bigcode/the-stack | train |
5dcebd1a13ec45c1c1729157 | train | class | class ListDatasetsRequest(BaseModel):
pass
| class ListDatasetsRequest(BaseModel):
| pass
| MaxResults100(BaseModel):
__root__: Annotated[int, Field(ge=1.0, le=100.0)]
class NextToken(BaseModel):
__root__: Annotated[str, Field(max_length=2000, min_length=1)]
class ListDatasetsRequest(BaseModel):
| 63 | 64 | 11 | 8 | 55 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ListDatasetsRequest | ListDatasetsRequest | 566 | 567 | 566 | 566 | 7d0597fa63bb1ef6da68a5cc1d6ce42b0f01d4f8 | bigcode/the-stack | train |
5812dc2ed3f0711ff4968215 | train | class | class JsonOptions(BaseModel):
"""
Represents the JSON-specific options that define how input is to be interpreted by Glue DataBrew.
"""
MultiLine: Optional[MultiLine] = None
| class JsonOptions(BaseModel):
| """
Represents the JSON-specific options that define how input is to be interpreted by Glue DataBrew.
"""
MultiLine: Optional[MultiLine] = None
|
class ValueReference(BaseModel):
__root__: Annotated[
str, Field(max_length=128, min_length=2, regex='^:[A-Za-z0-9_]+$')
]
class CreateDatasetResponse(BaseModel):
Name: DatasetName
class JsonOptions(BaseModel):
| 64 | 64 | 42 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | JsonOptions | JsonOptions | 769 | 774 | 769 | 769 | 6eae300a775db00c5a10b9a7f7106327d0ec8c29 | bigcode/the-stack | train |
e5cde2e7216e7d09bbc60fdb | train | class | class DatabaseTableOutputOptions(BaseModel):
"""
Represents options that specify how and where DataBrew writes the database output generated by recipe jobs.
"""
TempDirectory: Optional[S3Location] = None
TableName: DatabaseTableName
| class DatabaseTableOutputOptions(BaseModel):
| """
Represents options that specify how and where DataBrew writes the database output generated by recipe jobs.
"""
TempDirectory: Optional[S3Location] = None
TableName: DatabaseTableName
| __: Annotated[List[Output], Field(min_items=1)]
class S3TableOutputOptions(BaseModel):
"""
Represents options that specify how and where DataBrew writes the Amazon S3 output generated by recipe jobs.
"""
Location: S3Location
class DatabaseTableOutputOptions(BaseModel):
| 64 | 64 | 52 | 8 | 55 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | DatabaseTableOutputOptions | DatabaseTableOutputOptions | 1,016 | 1,022 | 1,016 | 1,016 | defa40aea2d4f5ea091e6cd601da93df0d16abd5 | bigcode/the-stack | train |
294ec275fb4974eac623dfc5 | train | class | class DescribeJobRunResponse(BaseModel):
Attempt: Optional[Attempt] = None
CompletedOn: Optional[Date] = None
DatasetName: Optional[DatasetName] = None
ErrorMessage: Optional[JobRunErrorMessage] = None
ExecutionTime: Optional[ExecutionTime] = None
JobName: JobName
ProfileConfiguration: Optio... | class DescribeJobRunResponse(BaseModel):
| Attempt: Optional[Attempt] = None
CompletedOn: Optional[Date] = None
DatasetName: Optional[DatasetName] = None
ErrorMessage: Optional[JobRunErrorMessage] = None
ExecutionTime: Optional[ExecutionTime] = None
JobName: JobName
ProfileConfiguration: Optional[ProfileConfiguration] = None
RunI... | = None
ResourceArn: Optional[Arn] = None
RoleArn: Optional[Arn] = None
Tags: Optional[TagMap] = None
Timeout: Optional[Timeout] = None
JobSample: Optional[JobSample] = None
class DescribeJobRunResponse(BaseModel):
| 66 | 66 | 223 | 8 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | DescribeJobRunResponse | DescribeJobRunResponse | 1,423 | 1,441 | 1,423 | 1,423 | cfc451143fee181da8da2bf5c5b057eefaa39001 | bigcode/the-stack | train |
83ec36cccd9d80ac5b0904a2 | train | class | class ViewFrame(BaseModel):
"""
Represents the data being transformed during an action.
"""
StartColumnIndex: StartColumnIndex
ColumnRange: Optional[ColumnRange] = None
HiddenColumns: Optional[HiddenColumnList] = None
| class ViewFrame(BaseModel):
| """
Represents the data being transformed during an action.
"""
StartColumnIndex: StartColumnIndex
ColumnRange: Optional[ColumnRange] = None
HiddenColumns: Optional[HiddenColumnList] = None
| Detail(BaseModel):
"""
Represents any errors encountered when attempting to delete multiple recipe versions.
"""
ErrorCode: Optional[ErrorCode] = None
ErrorMessage: Optional[RecipeErrorMessage] = None
RecipeVersion: Optional[RecipeVersion] = None
class ViewFrame(BaseModel):
| 64 | 64 | 54 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ViewFrame | ViewFrame | 1,073 | 1,080 | 1,073 | 1,073 | 472b1c09c3a7699dfd31d6cfdfc526f7fab78fa1 | bigcode/the-stack | train |
a73555fc60e66e42ef987e9d | train | class | class SheetIndexList(BaseModel):
__root__: Annotated[List[SheetIndex], Field(max_items=1, min_items=1)]
| class SheetIndexList(BaseModel):
| __root__: Annotated[List[SheetIndex], Field(max_items=1, min_items=1)]
| ] = None
CreateColumn: Optional[CreateColumn] = None
Filter: Optional[FilterExpression] = None
class SheetNameList(BaseModel):
__root__: Annotated[List[SheetName], Field(max_items=1, min_items=1)]
class SheetIndexList(BaseModel):
| 63 | 64 | 29 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | SheetIndexList | SheetIndexList | 1,051 | 1,052 | 1,051 | 1,051 | 2422eea6481b9dd6de54b191831a7a2e490e81a2 | bigcode/the-stack | train |
250bf9c20158757cfeca951b | train | class | class AssumeControl(BaseModel):
__root__: bool
| class AssumeControl(BaseModel):
| __root__: bool
| pass
class AccountId(BaseModel):
__root__: Annotated[str, Field(max_length=255)]
class ActionId(JobSize):
pass
class Arn(BaseModel):
__root__: Annotated[str, Field(max_length=2048, min_length=20)]
class AssumeControl(BaseModel):
| 63 | 64 | 12 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | AssumeControl | AssumeControl | 149 | 150 | 149 | 149 | df7e4c94eeb9027709c53d44847c509db18753bd | bigcode/the-stack | train |
18bf237eef65f10277c8d9ad | train | class | class Sample(BaseModel):
"""
Represents the sample size and sampling type for DataBrew to use for interactive data analysis.
"""
Size: Optional[SampleSize] = None
Type: SampleType
| class Sample(BaseModel):
| """
Represents the sample size and sampling type for DataBrew to use for interactive data analysis.
"""
Size: Optional[SampleSize] = None
Type: SampleType
| the default is used. The default value is CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter.
"""
Mode: Optional[SampleMode] = None
Size: Optional[JobSize] = None
class ProjectName(RecipeName):
pass
class Sample(BaseModel):
| 64 | 64 | 45 | 5 | 58 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | Sample | Sample | 287 | 293 | 287 | 287 | 27eb45c9b9e79b7eee6a9cd1bec0244d8c8b52d5 | bigcode/the-stack | train |
be2702fc5de66cbc62d51648 | train | class | class ListJobsResponse(BaseModel):
Jobs: JobList
NextToken: Optional[NextToken] = None
| class ListJobsResponse(BaseModel):
| Jobs: JobList
NextToken: Optional[NextToken] = None
| None
class ListDatasetsResponse(BaseModel):
Datasets: DatasetList
NextToken: Optional[NextToken] = None
class ListJobRunsResponse(BaseModel):
JobRuns: JobRunList
NextToken: Optional[NextToken] = None
class ListJobsResponse(BaseModel):
| 64 | 64 | 25 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ListJobsResponse | ListJobsResponse | 1,470 | 1,472 | 1,470 | 1,470 | 942c38a3ea9946340bbf3a1aa055ebefd9b871d9 | bigcode/the-stack | train |
26d2e5986b2327187a60aee6 | train | class | class MaxFiles(BaseModel):
__root__: Annotated[int, Field(ge=1.0)]
| class MaxFiles(BaseModel):
| __root__: Annotated[int, Field(ge=1.0)]
| ][0-9][0-9]$')]
class Expression(BaseModel):
__root__: Annotated[
str, Field(max_length=1024, min_length=4, regex='^[<>0-9A-Za-z_:)(!= ]+$')
]
class MaxFiles(BaseModel):
| 63 | 64 | 22 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | MaxFiles | MaxFiles | 534 | 535 | 534 | 534 | 92303d652caa575891eaf4f53ad9d8d2c46cd808 | bigcode/the-stack | train |
404bfca4f9e1f9c6a15dd913 | train | class | class RecipeList(BaseModel):
__root__: List[Recipe]
| class RecipeList(BaseModel):
| __root__: List[Recipe]
| Token] = None
class ListJobRunsResponse(BaseModel):
JobRuns: JobRunList
NextToken: Optional[NextToken] = None
class ListJobsResponse(BaseModel):
Jobs: JobList
NextToken: Optional[NextToken] = None
class RecipeList(BaseModel):
| 64 | 64 | 14 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | RecipeList | RecipeList | 1,475 | 1,476 | 1,475 | 1,475 | 9f459ed7cbe29e5a0dbf70f562201f0e11bc1c59 | bigcode/the-stack | train |
aa2105ef1cd49fa1aad47fd7 | train | class | class ValueReference(BaseModel):
__root__: Annotated[
str, Field(max_length=128, min_length=2, regex='^:[A-Za-z0-9_]+$')
]
| class ValueReference(BaseModel):
| __root__: Annotated[
str, Field(max_length=128, min_length=2, regex='^:[A-Za-z0-9_]+$')
]
| ResourceRequest(BaseModel):
pass
class UpdateProjectRequest(BaseModel):
Sample: Optional[Sample] = None
RoleArn: Arn
class UpdateScheduleRequest(BaseModel):
JobNames: Optional[JobNameList] = None
CronExpression: CronExpression
class ValueReference(BaseModel):
| 64 | 64 | 43 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ValueReference | ValueReference | 759 | 762 | 759 | 759 | 7f1f60ea15288e299b781c1f9bb82ede2df5639d | bigcode/the-stack | train |
5543e790de0fe915ad234ddb | train | class | class UpdateScheduleRequest(BaseModel):
JobNames: Optional[JobNameList] = None
CronExpression: CronExpression
| class UpdateScheduleRequest(BaseModel):
| JobNames: Optional[JobNameList] = None
CronExpression: CronExpression
| _items=200, min_items=1)]
class TagResourceRequest(BaseModel):
Tags: TagMap
class UntagResourceRequest(BaseModel):
pass
class UpdateProjectRequest(BaseModel):
Sample: Optional[Sample] = None
RoleArn: Arn
class UpdateScheduleRequest(BaseModel):
| 64 | 64 | 27 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | UpdateScheduleRequest | UpdateScheduleRequest | 754 | 756 | 754 | 754 | cc39d1bc9fb7ef4d53d00c89cb3232dc80a26b23 | bigcode/the-stack | train |
56efa0561209afcaf5427b3e | train | class | class TagValue(BaseModel):
__root__: Annotated[str, Field(max_length=256)]
| class TagValue(BaseModel):
| __root__: Annotated[str, Field(max_length=256)]
| ):
pass
class PathParametersMap(BaseModel):
"""
A structure that map names of parameters used in the Amazon S3 path of a dataset to their definitions. A definition includes parameter type and conditions.
"""
pass
class Config:
extra = Extra.allow
class TagValue(BaseModel):
| 64 | 64 | 20 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | TagValue | TagValue | 41 | 42 | 41 | 41 | ff562958b47af9058860591b8d7eeb1a19727905 | bigcode/the-stack | train |
3f01fe8bf044ad0d62e2d2cd | train | class | class ExecutionTime(JobSize):
pass
| class ExecutionTime(JobSize):
| pass
| Model):
pass
class JobType(Enum):
PROFILE = 'PROFILE'
RECIPE = 'RECIPE'
class JobRunId(RecipeName):
pass
class DescribeJobRunRequest(BaseModel):
pass
class JobRunErrorMessage(CreatedBy):
pass
class ExecutionTime(JobSize):
| 64 | 64 | 9 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ExecutionTime | ExecutionTime | 469 | 470 | 469 | 469 | f93bb0fbba5e75c8bf17207045bc7ad1703c6074 | bigcode/the-stack | train |
002aea0d42facbb3f7976dcd | train | class | class Output(BaseModel):
"""
Represents options that specify how and where in Amazon S3 DataBrew writes the output generated by recipe jobs or profile jobs.
"""
CompressionFormat: Optional[CompressionFormat] = None
Format: Optional[OutputFormat] = None
PartitionColumns: Optional[ColumnNameList]... | class Output(BaseModel):
| """
Represents options that specify how and where in Amazon S3 DataBrew writes the output generated by recipe jobs or profile jobs.
"""
CompressionFormat: Optional[CompressionFormat] = None
Format: Optional[OutputFormat] = None
PartitionColumns: Optional[ColumnNameList] = None
Location: S3L... | List(BaseModel):
__root__: Annotated[List[ColumnSelector], Field(min_items=1)]
class CreateProjectResponse(BaseModel):
Name: ProjectName
class CreateRecipeResponse(PublishRecipeResponse):
pass
class CreateRecipeJobResponse(DeleteJobResponse):
pass
class Output(BaseModel):
| 64 | 64 | 103 | 5 | 58 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | Output | Output | 864 | 874 | 864 | 864 | 1f1f4803bbbb58bad3bcc797c0c986ff79ce18f1 | bigcode/the-stack | train |
3fb9702c2bd08b55622d18fa | train | class | class CreateRecipeResponse(PublishRecipeResponse):
pass
| class CreateRecipeResponse(PublishRecipeResponse):
| pass
| List] = None
Overrides: Optional[StatisticOverrideList] = None
class ColumnSelectorList(BaseModel):
__root__: Annotated[List[ColumnSelector], Field(min_items=1)]
class CreateProjectResponse(BaseModel):
Name: ProjectName
class CreateRecipeResponse(PublishRecipeResponse):
| 64 | 64 | 12 | 9 | 54 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | CreateRecipeResponse | CreateRecipeResponse | 856 | 857 | 856 | 856 | 517f7347230b0d9486d39d1027db727b7dc5aae2 | bigcode/the-stack | train |
0a1d296f3fcfc0a4787fb128 | train | class | class DatetimeOptions(BaseModel):
"""
Represents additional options for correct interpretation of datetime parameters used in the Amazon S3 path of a dataset.
"""
Format: DatetimeFormat
TimezoneOffset: Optional[TimezoneOffset] = None
LocaleCode: Optional[LocaleCode] = None
| class DatetimeOptions(BaseModel):
| """
Represents additional options for correct interpretation of datetime parameters used in the Amazon S3 path of a dataset.
"""
Format: DatetimeFormat
TimezoneOffset: Optional[TimezoneOffset] = None
LocaleCode: Optional[LocaleCode] = None
| : S3Location
class DatabaseTableOutputOptions(BaseModel):
"""
Represents options that specify how and where DataBrew writes the database output generated by recipe jobs.
"""
TempDirectory: Optional[S3Location] = None
TableName: DatabaseTableName
class DatetimeOptions(BaseModel):
| 64 | 64 | 64 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | DatetimeOptions | DatetimeOptions | 1,025 | 1,032 | 1,025 | 1,025 | 4b2432dc24ffdf3210db3ef4f5836d1a314f0a8a | bigcode/the-stack | train |
b37cb11b3cd2f508bdd7467b | train | class | class ColumnSelector(BaseModel):
"""
Selector of a column from a dataset for profile job configuration. One selector includes either a column name or a regular expression.
"""
Regex: Optional[ColumnName] = None
Name: Optional[ColumnName] = None
| class ColumnSelector(BaseModel):
| """
Selector of a column from a dataset for profile job configuration. One selector includes either a column name or a regular expression.
"""
Regex: Optional[ColumnName] = None
Name: Optional[ColumnName] = None
| ^[a-zA-Z0-9][a-zA-Z0-9-]*$')
]
class ColumnName(RecipeName):
pass
class ColumnNameList(BaseModel):
__root__: Annotated[List[ColumnName], Field(max_items=200)]
class ColumnSelector(BaseModel):
| 63 | 64 | 57 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ColumnSelector | ColumnSelector | 183 | 189 | 183 | 183 | 61dca5e8841c86b23e4d56fbf0ad63cfcb4c87c7 | bigcode/the-stack | train |
eb4638115dca26c79699fdf6 | train | class | class CreateScheduleResponse(BaseModel):
Name: ScheduleName
| class CreateScheduleResponse(BaseModel):
| Name: ScheduleName
|
Format: Optional[OutputFormat] = None
PartitionColumns: Optional[ColumnNameList] = None
Location: S3Location
Overwrite: Optional[OverwriteOutput] = None
FormatOptions: Optional[OutputFormatOptions] = None
class CreateScheduleResponse(BaseModel):
| 64 | 64 | 13 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | CreateScheduleResponse | CreateScheduleResponse | 877 | 878 | 877 | 877 | 769728bac6c7c80629f6acfb36024a88380d644d | bigcode/the-stack | train |
cd4cae74218b71aece96d0b7 | train | class | class SampleMode(Enum):
FULL_DATASET = 'FULL_DATASET'
CUSTOM_ROWS = 'CUSTOM_ROWS'
| class SampleMode(Enum):
| FULL_DATASET = 'FULL_DATASET'
CUSTOM_ROWS = 'CUSTOM_ROWS'
| Exception(ConflictException):
pass
class Bucket(BaseModel):
__root__: Annotated[str, Field(max_length=63, min_length=3)]
class Key(BaseModel):
__root__: Annotated[str, Field(max_length=1280, min_length=1)]
class SampleMode(Enum):
| 63 | 64 | 23 | 5 | 58 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | SampleMode | SampleMode | 61 | 63 | 61 | 61 | 05b857677ab147cb6d092bc88136d6aba50ac81b | bigcode/the-stack | train |
16d5976cfa59c63c6a68d3a5 | train | class | class SheetNameList(BaseModel):
__root__: Annotated[List[SheetName], Field(max_items=1, min_items=1)]
| class SheetNameList(BaseModel):
| __root__: Annotated[List[SheetName], Field(max_items=1, min_items=1)]
| 3 path of the dataset.
"""
Name: PathParameterName
Type: ParameterType
DatetimeOptions: Optional[DatetimeOptions] = None
CreateColumn: Optional[CreateColumn] = None
Filter: Optional[FilterExpression] = None
class SheetNameList(BaseModel):
| 64 | 64 | 29 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | SheetNameList | SheetNameList | 1,047 | 1,048 | 1,047 | 1,047 | f86212530a60d0aa8ef12a3fe07e3a399e82643f | bigcode/the-stack | train |
b14db57e5df95608cdb9ecd5 | train | class | class ValuesMap(BaseModel):
pass
class Config:
extra = Extra.allow
| class ValuesMap(BaseModel):
| pass
class Config:
extra = Extra.allow
| Files(BaseModel):
__root__: Annotated[int, Field(ge=1.0)]
class OrderedBy(Enum):
LAST_MODIFIED_DATE = 'LAST_MODIFIED_DATE'
class Order(Enum):
DESCENDING = 'DESCENDING'
ASCENDING = 'ASCENDING'
class ValuesMap(BaseModel):
| 64 | 64 | 19 | 6 | 58 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ValuesMap | ValuesMap | 547 | 551 | 547 | 547 | 3e035fa5fc6d36182eb4cc4b26a8ac194c127a87 | bigcode/the-stack | train |
a0e1ec01e15ae6a86b4e3e4b | train | class | class ProfileConfiguration(BaseModel):
"""
Configuration for profile jobs. Configuration can be used to select columns, do evaluations, and override default parameters of evaluations. When configuration is undefined, the profile job will apply default settings to all supported columns.
"""
DatasetStati... | class ProfileConfiguration(BaseModel):
| """
Configuration for profile jobs. Configuration can be used to select columns, do evaluations, and override default parameters of evaluations. When configuration is undefined, the profile job will apply default settings to all supported columns.
"""
DatasetStatisticsConfiguration: Optional[Statistics... | ):
Name: DatasetName
Format: Optional[InputFormat] = None
FormatOptions: Optional[FormatOptions] = None
Input: Input
PathOptions: Optional[PathOptions] = None
Tags: Optional[TagMap] = None
class ProfileConfiguration(BaseModel):
| 64 | 64 | 92 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ProfileConfiguration | ProfileConfiguration | 1,162 | 1,169 | 1,162 | 1,162 | 5defa49fcf8bfc88cf4d58eddc6265fe8af48ac1 | bigcode/the-stack | train |
a69e74b07811095c7054f622 | train | class | class StartJobRunResponse(BaseModel):
RunId: JobRunId
| class StartJobRunResponse(BaseModel):
| RunId: JobRunId
| Recipe actions reference</a>.
"""
Operation: Operation
Parameters: Optional[ParameterMap] = None
class ConditionExpressionList(BaseModel):
__root__: List[ConditionExpression]
class HiddenColumnList(BaseModel):
__root__: List[ColumnName]
class StartJobRunResponse(BaseModel):
| 64 | 64 | 16 | 8 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | StartJobRunResponse | StartJobRunResponse | 949 | 950 | 949 | 949 | 7abfafd40859291bd8afbf6a4990fbddeaba7cd8 | bigcode/the-stack | train |
2a1f2da76af4361715931c14 | train | class | class ListTagsForResourceRequest(BaseModel):
pass
| class ListTagsForResourceRequest(BaseModel):
| pass
| ):
pass
class ListJobsRequest(BaseModel):
pass
class ListProjectsRequest(BaseModel):
pass
class ListRecipeVersionsRequest(BaseModel):
pass
class ListRecipesRequest(BaseModel):
pass
class ListSchedulesRequest(BaseModel):
pass
class ListTagsForResourceRequest(BaseModel):
| 64 | 64 | 12 | 9 | 54 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ListTagsForResourceRequest | ListTagsForResourceRequest | 594 | 595 | 594 | 594 | 6e9700480f1441f3f6ca6a2cd87203cf0f1e843a | bigcode/the-stack | train |
3f947838055ec461b4f31509 | train | class | class StartProjectSessionRequest(BaseModel):
AssumeControl: Optional[AssumeControl] = None
| class StartProjectSessionRequest(BaseModel):
| AssumeControl: Optional[AssumeControl] = None
| Annotated[int, Field(ge=0.0, le=200.0)]
class SheetName(BaseModel):
__root__: Annotated[str, Field(max_length=31, min_length=1)]
class StartJobRunRequest(BaseModel):
pass
class StartProjectSessionRequest(BaseModel):
| 64 | 64 | 21 | 8 | 55 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | StartProjectSessionRequest | StartProjectSessionRequest | 708 | 709 | 708 | 708 | c8e8246c53726d5eabbe21a2a2c7549f91e5e2ff | bigcode/the-stack | train |
230e62ecebd34523a04d741c | train | class | class ColumnName(RecipeName):
pass
| class ColumnName(RecipeName):
| pass
| ):
pass
class ClientSessionId(BaseModel):
__root__: Annotated[
str, Field(max_length=255, min_length=1, regex='^[a-zA-Z0-9][a-zA-Z0-9-]*$')
]
class ColumnName(RecipeName):
| 63 | 64 | 10 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ColumnName | ColumnName | 175 | 176 | 175 | 175 | 4a5c5b4daeb9f6c731bcf6de737824c938490114 | bigcode/the-stack | train |
6bdb07e8cfe1b6054f2f919b | train | class | class JobRunId(RecipeName):
pass
| class JobRunId(RecipeName):
| pass
| Request(BaseModel):
pass
class DeleteScheduleRequest(BaseModel):
pass
class DescribeDatasetRequest(BaseModel):
pass
class DescribeJobRequest(BaseModel):
pass
class JobType(Enum):
PROFILE = 'PROFILE'
RECIPE = 'RECIPE'
class JobRunId(RecipeName):
| 64 | 64 | 11 | 8 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | JobRunId | JobRunId | 457 | 458 | 457 | 457 | 48c10ad5f6a0500da66ec15ddbc6d01879ee4372 | bigcode/the-stack | train |
9b02e1f41247fb109da66cbe | train | class | class DescribeRecipeResponse(BaseModel):
CreatedBy: Optional[CreatedBy] = None
CreateDate: Optional[Date] = None
LastModifiedBy: Optional[LastModifiedBy] = None
LastModifiedDate: Optional[Date] = None
ProjectName: Optional[ProjectName] = None
PublishedBy: Optional[PublishedBy] = None
Publish... | class DescribeRecipeResponse(BaseModel):
| CreatedBy: Optional[CreatedBy] = None
CreateDate: Optional[Date] = None
LastModifiedBy: Optional[LastModifiedBy] = None
LastModifiedDate: Optional[Date] = None
ProjectName: Optional[ProjectName] = None
PublishedBy: Optional[PublishedBy] = None
PublishedDate: Optional[Date] = None
Descrip... | : Optional[DatabaseOutputList] = None
RecipeReference: Optional[RecipeReference] = None
StartedBy: Optional[StartedBy] = None
StartedOn: Optional[Date] = None
JobSample: Optional[JobSample] = None
class DescribeRecipeResponse(BaseModel):
| 64 | 64 | 154 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | DescribeRecipeResponse | DescribeRecipeResponse | 1,444 | 1,457 | 1,444 | 1,444 | a42320168b7e913356e8a7a7729cd8e0dda95387 | bigcode/the-stack | train |
0262f25b4416a1e30b37436e | train | class | class FilterExpression(BaseModel):
"""
Represents a structure for defining parameter conditions. Supported conditions are described here: <a href="https://docs-aws.amazon.com/databrew/latest/dg/datasets.multiple-files.html#conditions.for.dynamic.datasets">Supported conditions for dynamic datasets</a> in the <i>... | class FilterExpression(BaseModel):
| """
Represents a structure for defining parameter conditions. Supported conditions are described here: <a href="https://docs-aws.amazon.com/databrew/latest/dg/datasets.multiple-files.html#conditions.for.dynamic.datasets">Supported conditions for dynamic datasets</a> in the <i>Glue DataBrew Developer Guide</i>.
... | Location] = None
class DatabaseInputDefinition(BaseModel):
"""
Connection information for dataset input files stored in a database.
"""
GlueConnectionName: GlueConnectionName
DatabaseTableName: DatabaseTableName
TempDirectory: Optional[S3Location] = None
class FilterExpression(BaseModel):
| 64 | 64 | 88 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | FilterExpression | FilterExpression | 816 | 822 | 816 | 816 | 475fea75b255a83dcff9a5ae10fc829c542f01e2 | bigcode/the-stack | train |
4e3bd8676bb86135dcc12592 | train | class | class Dataset(BaseModel):
"""
Represents a dataset that can be processed by DataBrew.
"""
AccountId: Optional[AccountId] = None
CreatedBy: Optional[CreatedBy] = None
CreateDate: Optional[Date] = None
Name: DatasetName
Format: Optional[InputFormat] = None
FormatOptions: Optional[Form... | class Dataset(BaseModel):
| """
Represents a dataset that can be processed by DataBrew.
"""
AccountId: Optional[AccountId] = None
CreatedBy: Optional[CreatedBy] = None
CreateDate: Optional[Date] = None
Name: DatasetName
Format: Optional[InputFormat] = None
FormatOptions: Optional[FormatOptions] = None
Inpu... |
class RecipeStepList(BaseModel):
__root__: List[RecipeStep]
class CreateRecipeRequest(BaseModel):
Description: Optional[RecipeDescription] = None
Name: RecipeName
Steps: RecipeStepList
Tags: Optional[TagMap] = None
class Dataset(BaseModel):
| 64 | 64 | 161 | 5 | 58 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | Dataset | Dataset | 1,225 | 1,242 | 1,225 | 1,225 | de0e86c5fba62a1f98146022c68f6f066a3ec7b7 | bigcode/the-stack | train |
6e21cacb8034061ca1f7abcb | train | class | class ListRecipeVersionsRequest(BaseModel):
pass
| class ListRecipeVersionsRequest(BaseModel):
| pass
| , Field(max_length=2000, min_length=1)]
class ListDatasetsRequest(BaseModel):
pass
class ListJobRunsRequest(BaseModel):
pass
class ListJobsRequest(BaseModel):
pass
class ListProjectsRequest(BaseModel):
pass
class ListRecipeVersionsRequest(BaseModel):
| 64 | 64 | 11 | 8 | 55 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ListRecipeVersionsRequest | ListRecipeVersionsRequest | 582 | 583 | 582 | 582 | a794ff339758cdbcc1bb3bf96ad87c5b80737bfb | bigcode/the-stack | train |
66db69f767304b0645fecff2 | train | class | class DeleteJobRequest(BaseModel):
pass
| class DeleteJobRequest(BaseModel):
| pass
| LocaleCode(BaseModel):
__root__: Annotated[
str, Field(max_length=100, min_length=2, regex='^[A-Za-z0-9_\\.#@\\-]+$')
]
class DeleteDatasetRequest(BaseModel):
pass
class DeleteJobRequest(BaseModel):
| 64 | 64 | 10 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | DeleteJobRequest | DeleteJobRequest | 428 | 429 | 428 | 428 | 811d6e15d5fcebe70c7372129c132313e42e3c9d | bigcode/the-stack | train |
9d7eaf274eeffa3bca42482e | train | class | class ExcelOptions(BaseModel):
"""
Represents a set of options that define how DataBrew will interpret a Microsoft Excel file when creating a dataset from that file.
"""
SheetNames: Optional[SheetNameList] = None
SheetIndexes: Optional[SheetIndexList] = None
HeaderRow: Optional[HeaderRow] = Non... | class ExcelOptions(BaseModel):
| """
Represents a set of options that define how DataBrew will interpret a Microsoft Excel file when creating a dataset from that file.
"""
SheetNames: Optional[SheetNameList] = None
SheetIndexes: Optional[SheetIndexList] = None
HeaderRow: Optional[HeaderRow] = None
| ] = None
class ViewFrame(BaseModel):
"""
Represents the data being transformed during an action.
"""
StartColumnIndex: StartColumnIndex
ColumnRange: Optional[ColumnRange] = None
HiddenColumns: Optional[HiddenColumnList] = None
class ExcelOptions(BaseModel):
| 64 | 64 | 74 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ExcelOptions | ExcelOptions | 1,083 | 1,090 | 1,083 | 1,083 | eccb729e7069439681f0e0c1b60965a53e477c0a | bigcode/the-stack | train |
9789f7adb6f94cf4d2448848 | train | class | class DescribeProjectRequest(BaseModel):
pass
| class DescribeProjectRequest(BaseModel):
| pass
| PING = 'STOPPING'
STOPPED = 'STOPPED'
SUCCEEDED = 'SUCCEEDED'
FAILED = 'FAILED'
TIMEOUT = 'TIMEOUT'
class LogGroupName(CronExpression):
pass
class StartedBy(CreatedBy):
pass
class DescribeProjectRequest(BaseModel):
| 64 | 64 | 10 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | DescribeProjectRequest | DescribeProjectRequest | 491 | 492 | 491 | 491 | 6c44df9501a385df8d7df6aeea6a60a1b8f54a95 | bigcode/the-stack | train |
8f10029a6ebdb51747f00efd | train | class | class UntagResourceRequest(BaseModel):
pass
| class UntagResourceRequest(BaseModel):
| pass
| )]
class StopJobRunRequest(BaseModel):
pass
class TagKeyList(BaseModel):
__root__: Annotated[List[TagKey], Field(max_items=200, min_items=1)]
class TagResourceRequest(BaseModel):
Tags: TagMap
class UntagResourceRequest(BaseModel):
| 64 | 64 | 11 | 8 | 55 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | UntagResourceRequest | UntagResourceRequest | 745 | 746 | 745 | 745 | 3e204574ae33af0ff6b1df870f60160c079865e5 | bigcode/the-stack | train |
129189a36cdff23eeec2b1b2 | train | class | class ResourceNotFoundException(ConflictException):
pass
| class ResourceNotFoundException(ConflictException):
| pass
| , List, Optional
from pydantic import BaseModel, Extra, Field
class RecipeVersion(BaseModel):
__root__: Annotated[str, Field(max_length=16, min_length=1)]
class ConflictException(BaseModel):
__root__: Any
class ResourceNotFoundException(ConflictException):
| 64 | 64 | 12 | 9 | 54 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ResourceNotFoundException | ResourceNotFoundException | 22 | 23 | 22 | 22 | 0f65c5cf819acc36ef80fc8afa8c333972a7780e | bigcode/the-stack | train |
bb1839c9dd44776328ccef4a | train | class | class ColumnStatisticsConfigurationList(BaseModel):
__root__: Annotated[List[ColumnStatisticsConfiguration], Field(min_items=1)]
| class ColumnStatisticsConfigurationList(BaseModel):
| __root__: Annotated[List[ColumnStatisticsConfiguration], Field(min_items=1)]
| Brew will interpret a Microsoft Excel file when creating a dataset from that file.
"""
SheetNames: Optional[SheetNameList] = None
SheetIndexes: Optional[SheetIndexList] = None
HeaderRow: Optional[HeaderRow] = None
class ColumnStatisticsConfigurationList(BaseModel):
| 64 | 64 | 26 | 8 | 55 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ColumnStatisticsConfigurationList | ColumnStatisticsConfigurationList | 1,093 | 1,094 | 1,093 | 1,093 | e8b40f7deea29505cd4140d124549bd17c94e3e5 | bigcode/the-stack | train |
819658517bf2934d4fcbc6f4 | train | class | class ColumnSelectorList(BaseModel):
__root__: Annotated[List[ColumnSelector], Field(min_items=1)]
| class ColumnSelectorList(BaseModel):
| __root__: Annotated[List[ColumnSelector], Field(min_items=1)]
| Configuration(BaseModel):
"""
Configuration of evaluations for a profile job. This configuration can be used to select evaluations and override the parameters of selected evaluations.
"""
IncludedStatistics: Optional[StatisticList] = None
Overrides: Optional[StatisticOverrideList] = None
class Colu... | 64 | 64 | 24 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ColumnSelectorList | ColumnSelectorList | 848 | 849 | 848 | 848 | e71fdac0cfe537ea25999f9b1fdabb8d7c65e767 | bigcode/the-stack | train |
2e88d327df6dcbe8d20233aa | train | class | class ParameterType(Enum):
Datetime = 'Datetime'
Number = 'Number'
String = 'String'
| class ParameterType(Enum):
| Datetime = 'Datetime'
Number = 'Number'
String = 'String'
| (BaseModel):
__root__: datetime
class LastModifiedBy(CreatedBy):
pass
class Source(Enum):
S3 = 'S3'
DATA_CATALOG = 'DATA-CATALOG'
DATABASE = 'DATABASE'
class PathParameterName(RecipeName):
pass
class ParameterType(Enum):
| 64 | 64 | 24 | 5 | 58 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ParameterType | ParameterType | 399 | 402 | 399 | 399 | d959d4ac4b6ab6f299fa7bd363d15fd07024b4d0 | bigcode/the-stack | train |
f05702798f0841bd35a2df67 | train | class | class ClientSessionId(BaseModel):
__root__: Annotated[
str, Field(max_length=255, min_length=1, regex='^[a-zA-Z0-9][a-zA-Z0-9-]*$')
]
| class ClientSessionId(BaseModel):
| __root__: Annotated[
str, Field(max_length=255, min_length=1, regex='^[a-zA-Z0-9][a-zA-Z0-9-]*$')
]
| class RecipeVersionList(BaseModel):
__root__: Annotated[List[RecipeVersion], Field(max_items=50, min_items=1)]
class BatchDeleteRecipeVersionRequest(BaseModel):
RecipeVersions: RecipeVersionList
class CatalogId(RecipeName):
pass
class ClientSessionId(BaseModel):
| 64 | 64 | 52 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ClientSessionId | ClientSessionId | 169 | 172 | 169 | 169 | 1e0be44de1ee5b5137e64324f1f23ac301cc5b8c | bigcode/the-stack | train |
f5fb0d758299474ef59b49ed | train | class | class SessionStatus(Enum):
ASSIGNED = 'ASSIGNED'
FAILED = 'FAILED'
INITIALIZING = 'INITIALIZING'
PROVISIONING = 'PROVISIONING'
READY = 'READY'
RECYCLING = 'RECYCLING'
ROTATING = 'ROTATING'
TERMINATED = 'TERMINATED'
TERMINATING = 'TERMINATING'
UPDATING = 'UPDATING'
| class SessionStatus(Enum):
| ASSIGNED = 'ASSIGNED'
FAILED = 'FAILED'
INITIALIZING = 'INITIALIZING'
PROVISIONING = 'PROVISIONING'
READY = 'READY'
RECYCLING = 'RECYCLING'
ROTATING = 'ROTATING'
TERMINATED = 'TERMINATED'
TERMINATING = 'TERMINATING'
UPDATING = 'UPDATING'
| PED = 'STOPPED'
SUCCEEDED = 'SUCCEEDED'
FAILED = 'FAILED'
TIMEOUT = 'TIMEOUT'
class LogGroupName(CronExpression):
pass
class StartedBy(CreatedBy):
pass
class DescribeProjectRequest(BaseModel):
pass
class SessionStatus(Enum):
| 64 | 64 | 93 | 5 | 58 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | SessionStatus | SessionStatus | 495 | 505 | 495 | 495 | 1c2fb00ed13fb41d51356deb3dac278484faf2e0 | bigcode/the-stack | train |
83f1af5bd164b21691fac4ca | train | class | class Schedule(BaseModel):
"""
Represents one or more dates and times when a job is to run.
"""
AccountId: Optional[AccountId] = None
CreatedBy: Optional[CreatedBy] = None
CreateDate: Optional[Date] = None
JobNames: Optional[JobNameList] = None
LastModifiedBy: Optional[LastModifiedBy] =... | class Schedule(BaseModel):
| """
Represents one or more dates and times when a job is to run.
"""
AccountId: Optional[AccountId] = None
CreatedBy: Optional[CreatedBy] = None
CreateDate: Optional[Date] = None
JobNames: Optional[JobNameList] = None
LastModifiedBy: Optional[LastModifiedBy] = None
LastModifiedDate:... | By: Optional[OpenedBy] = None
OpenDate: Optional[Date] = None
class PublishRecipeRequest(BaseModel):
Description: Optional[RecipeDescription] = None
class RecipeErrorMessage(CreatedBy):
pass
class Result(CreatedBy):
pass
class Schedule(BaseModel):
| 64 | 64 | 138 | 5 | 58 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | Schedule | Schedule | 675 | 689 | 675 | 675 | 7dc2501569294af23819cd16983cbe7eb865a024 | bigcode/the-stack | train |
72ead35b3f4a1bd6ef371867 | train | class | class OutputFormat(Enum):
CSV = 'CSV'
JSON = 'JSON'
PARQUET = 'PARQUET'
GLUEPARQUET = 'GLUEPARQUET'
AVRO = 'AVRO'
ORC = 'ORC'
XML = 'XML'
TABLEAUHYPER = 'TABLEAUHYPER'
| class OutputFormat(Enum):
| CSV = 'CSV'
JSON = 'JSON'
PARQUET = 'PARQUET'
GLUEPARQUET = 'GLUEPARQUET'
AVRO = 'AVRO'
ORC = 'ORC'
XML = 'XML'
TABLEAUHYPER = 'TABLEAUHYPER'
| ProjectsRequest(BaseModel):
pass
class ListRecipeVersionsRequest(BaseModel):
pass
class ListRecipesRequest(BaseModel):
pass
class ListSchedulesRequest(BaseModel):
pass
class ListTagsForResourceRequest(BaseModel):
pass
class Operation(Condition):
pass
class OutputFormat(Enum):
| 64 | 64 | 77 | 5 | 58 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | OutputFormat | OutputFormat | 602 | 610 | 602 | 602 | e319da5df23b0f2fc0db6cdc7dfc92cabed86f38 | bigcode/the-stack | train |
8c5c6a65e9b0309146cce2e0 | train | class | class ListSchedulesRequest(BaseModel):
pass
| class ListSchedulesRequest(BaseModel):
| pass
| Model):
pass
class ListJobRunsRequest(BaseModel):
pass
class ListJobsRequest(BaseModel):
pass
class ListProjectsRequest(BaseModel):
pass
class ListRecipeVersionsRequest(BaseModel):
pass
class ListRecipesRequest(BaseModel):
pass
class ListSchedulesRequest(BaseModel):
| 64 | 64 | 10 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ListSchedulesRequest | ListSchedulesRequest | 590 | 591 | 590 | 590 | 28d36ac16bdc47c38a82cc58054ca0e16e7741c8 | bigcode/the-stack | train |
3a7e5c22fb83cd51d5f22c8e | train | class | class RecipeName(BaseModel):
__root__: Annotated[str, Field(max_length=255, min_length=1)]
| class RecipeName(BaseModel):
| __root__: Annotated[str, Field(max_length=255, min_length=1)]
| ated[int, Field(ge=1.0, le=5000.0)]
class SampleType(Enum):
FIRST_N = 'FIRST_N'
LAST_N = 'LAST_N'
RANDOM = 'RANDOM'
class InternalServerException(ConflictException):
pass
class RecipeName(BaseModel):
| 64 | 64 | 25 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | RecipeName | RecipeName | 84 | 85 | 84 | 84 | 8bdeeb14e919e1c0b38a7acfcaa287ea15f1db76 | bigcode/the-stack | train |
b8fa7b51480b8b96f65352e9 | train | class | class DeleteDatasetRequest(BaseModel):
pass
| class DeleteDatasetRequest(BaseModel):
| pass
| 2}))$'
),
]
class LocaleCode(BaseModel):
__root__: Annotated[
str, Field(max_length=100, min_length=2, regex='^[A-Za-z0-9_\\.#@\\-]+$')
]
class DeleteDatasetRequest(BaseModel):
| 63 | 64 | 10 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | DeleteDatasetRequest | DeleteDatasetRequest | 424 | 425 | 424 | 424 | c24b05146da359432799345ade33a3ae9b4cf24e | bigcode/the-stack | train |
de2e5d6e4bad78a629f4fc01 | train | class | class CronExpression(BaseModel):
__root__: Annotated[str, Field(max_length=512, min_length=1)]
| class CronExpression(BaseModel):
| __root__: Annotated[str, Field(max_length=512, min_length=1)]
| rew recipe.
"""
Name: RecipeName
RecipeVersion: Optional[RecipeVersion] = None
class RecipeDescription(ConditionValue):
pass
class JobNameList(BaseModel):
__root__: Annotated[List[JobName], Field(max_items=50)]
class CronExpression(BaseModel):
| 63 | 64 | 25 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | CronExpression | CronExpression | 322 | 323 | 322 | 322 | 441d9c0dc7960a6f038718476964b71e8b3723f9 | bigcode/the-stack | train |
68194e1d1bbd2ce877c7d695 | train | class | class UpdateDatasetRequest(BaseModel):
Format: Optional[InputFormat] = None
FormatOptions: Optional[FormatOptions] = None
Input: Input
PathOptions: Optional[PathOptions] = None
| class UpdateDatasetRequest(BaseModel):
| Format: Optional[InputFormat] = None
FormatOptions: Optional[FormatOptions] = None
Input: Input
PathOptions: Optional[PathOptions] = None
| Optional[Preview] = None
RecipeStep: Optional[RecipeStep] = None
StepIndex: Optional[StepIndex] = None
ClientSessionId: Optional[ClientSessionId] = None
ViewFrame: Optional[ViewFrame] = None
class UpdateDatasetRequest(BaseModel):
| 64 | 64 | 47 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | UpdateDatasetRequest | UpdateDatasetRequest | 1,339 | 1,343 | 1,339 | 1,339 | 820ab287c45ed222e8c8460f58cb1ca62505b160 | bigcode/the-stack | train |
334185546039694c256b4ce3 | train | class | class CreateProfileJobRequest(BaseModel):
DatasetName: DatasetName
EncryptionKeyArn: Optional[EncryptionKeyArn] = None
EncryptionMode: Optional[EncryptionMode] = None
Name: JobName
LogSubscription: Optional[LogSubscription] = None
MaxCapacity: Optional[MaxCapacity] = None
MaxRetries: Optiona... | class CreateProfileJobRequest(BaseModel):
| DatasetName: DatasetName
EncryptionKeyArn: Optional[EncryptionKeyArn] = None
EncryptionMode: Optional[EncryptionMode] = None
Name: JobName
LogSubscription: Optional[LogSubscription] = None
MaxCapacity: Optional[MaxCapacity] = None
MaxRetries: Optional[MaxRetries] = None
OutputLocation: S... | , the profile job will apply default settings to all supported columns.
"""
DatasetStatisticsConfiguration: Optional[StatisticsConfiguration] = None
ProfileColumns: Optional[ColumnSelectorList] = None
ColumnStatisticsConfigurations: Optional[ColumnStatisticsConfigurationList] = None
class CreateProfile... | 64 | 64 | 141 | 8 | 55 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | CreateProfileJobRequest | CreateProfileJobRequest | 1,172 | 1,185 | 1,172 | 1,172 | 548c1f208d312c53b9bfca2a6b9ffbcbea6a11f6 | bigcode/the-stack | train |
635313e60ce647f049f538bc | train | class | class CatalogId(RecipeName):
pass
| class CatalogId(RecipeName):
| pass
| bool
class Attempt(JobSize):
pass
class RecipeVersionList(BaseModel):
__root__: Annotated[List[RecipeVersion], Field(max_items=50, min_items=1)]
class BatchDeleteRecipeVersionRequest(BaseModel):
RecipeVersions: RecipeVersionList
class CatalogId(RecipeName):
| 64 | 64 | 10 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | CatalogId | CatalogId | 165 | 166 | 165 | 165 | 5ac1cafc5554356f043941d7cad8d647f9fc99fe | bigcode/the-stack | train |
0af8d9a8dc7526f49dc15ed4 | train | class | class ConditionExpression(BaseModel):
"""
<p>Represents an individual condition that evaluates to true or false.</p> <p>Conditions are used with recipe actions. The action is only performed for column values where the condition evaluates to true.</p> <p>If a recipe requires more than one condition, then the rec... | class ConditionExpression(BaseModel):
| """
<p>Represents an individual condition that evaluates to true or false.</p> <p>Conditions are used with recipe actions. The action is only performed for column values where the condition evaluates to true.</p> <p>If a recipe requires more than one condition, then the recipe must specify multiple <code>Condit... | ^[A-Z\\_]+$')]
class ConditionValue(BaseModel):
__root__: Annotated[str, Field(max_length=1024)]
class TargetColumn(BaseModel):
__root__: Annotated[str, Field(max_length=1024, min_length=1)]
class ConditionExpression(BaseModel):
| 63 | 64 | 126 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ConditionExpression | ConditionExpression | 216 | 223 | 216 | 216 | 6b7615981c4778a4c35bef6e458568f7f964fd2b | bigcode/the-stack | train |
83cb220b6aeb34d1dc973426 | train | class | class JobRun(BaseModel):
"""
Represents one run of a DataBrew job.
"""
Attempt: Optional[Attempt] = None
CompletedOn: Optional[Date] = None
DatasetName: Optional[DatasetName] = None
ErrorMessage: Optional[JobRunErrorMessage] = None
ExecutionTime: Optional[ExecutionTime] = None
JobNa... | class JobRun(BaseModel):
| """
Represents one run of a DataBrew job.
"""
Attempt: Optional[Attempt] = None
CompletedOn: Optional[Date] = None
DatasetName: Optional[DatasetName] = None
ErrorMessage: Optional[JobRunErrorMessage] = None
ExecutionTime: Optional[ExecutionTime] = None
JobName: Optional[JobName] = N... | ] = None
RoleArn: Optional[Arn] = None
Timeout: Optional[Timeout] = None
Tags: Optional[TagMap] = None
JobSample: Optional[JobSample] = None
class JobList(BaseModel):
__root__: List[Job]
class JobRun(BaseModel):
| 68 | 68 | 229 | 6 | 62 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | JobRun | JobRun | 1,283 | 1,304 | 1,283 | 1,283 | f812d297023a77585c060313d0faca9195e2c46e | bigcode/the-stack | train |
dda914c6e1f97e2c78c1bb23 | train | class | class ColumnNameList(BaseModel):
__root__: Annotated[List[ColumnName], Field(max_items=200)]
| class ColumnNameList(BaseModel):
| __root__: Annotated[List[ColumnName], Field(max_items=200)]
| ):
__root__: Annotated[
str, Field(max_length=255, min_length=1, regex='^[a-zA-Z0-9][a-zA-Z0-9-]*$')
]
class ColumnName(RecipeName):
pass
class ColumnNameList(BaseModel):
| 64 | 64 | 24 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ColumnNameList | ColumnNameList | 179 | 180 | 179 | 179 | e3a8f0bdade090bb45e2e5635274609f21b6505b | bigcode/the-stack | train |
488c91cd0f91ef9f6d3ad609 | train | class | class CreateRecipeRequest(BaseModel):
Description: Optional[RecipeDescription] = None
Name: RecipeName
Steps: RecipeStepList
Tags: Optional[TagMap] = None
| class CreateRecipeRequest(BaseModel):
| Description: Optional[RecipeDescription] = None
Name: RecipeName
Steps: RecipeStepList
Tags: Optional[TagMap] = None
| None
RecipeReference: Optional[RecipeReference] = None
RoleArn: Arn
Tags: Optional[TagMap] = None
Timeout: Optional[Timeout] = None
class RecipeStepList(BaseModel):
__root__: List[RecipeStep]
class CreateRecipeRequest(BaseModel):
| 64 | 64 | 42 | 7 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | CreateRecipeRequest | CreateRecipeRequest | 1,218 | 1,222 | 1,218 | 1,218 | 581281c8ce147e3c8cbe2967d18fc6641d6938a6 | bigcode/the-stack | train |
a0d17d3c6b054754e6dcd39d | train | class | class RecipeAction(BaseModel):
"""
Represents a transformation and associated parameters that are used to apply a change to a DataBrew dataset. For more information, see <a href="https://docs.aws.amazon.com/databrew/latest/dg/recipe-actions-reference.html">Recipe actions reference</a>.
"""
Operation: O... | class RecipeAction(BaseModel):
| """
Represents a transformation and associated parameters that are used to apply a change to a DataBrew dataset. For more information, see <a href="https://docs.aws.amazon.com/databrew/latest/dg/recipe-actions-reference.html">Recipe actions reference</a>.
"""
Operation: Operation
Parameters: Option... |
class ListTagsForResourceResponse(BaseModel):
Tags: Optional[TagMap] = None
class SendProjectSessionActionResponse(BaseModel):
Result: Optional[Result] = None
Name: ProjectName
ActionId: Optional[ActionId] = None
class RecipeAction(BaseModel):
| 64 | 64 | 80 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | RecipeAction | RecipeAction | 932 | 938 | 932 | 932 | c17e90cb70359cd0c38efbe5864decad81d78f2f | bigcode/the-stack | train |
648c40c660beb6fe6971ae23 | train | class | class DescribeRecipeRequest(BaseModel):
pass
| class DescribeRecipeRequest(BaseModel):
| pass
| CYCLING = 'RECYCLING'
ROTATING = 'ROTATING'
TERMINATED = 'TERMINATED'
TERMINATING = 'TERMINATING'
UPDATING = 'UPDATING'
class OpenedBy(CreatedBy):
pass
class DescribeRecipeRequest(BaseModel):
| 64 | 64 | 10 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | DescribeRecipeRequest | DescribeRecipeRequest | 512 | 513 | 512 | 512 | 6b1a180ba31c1a1b01f62b91c5d777f17580ac64 | bigcode/the-stack | train |
1366095e7f1170d34c2637e3 | train | class | class EncryptionMode(Enum):
SSE_KMS = 'SSE-KMS'
SSE_S3 = 'SSE-S3'
| class EncryptionMode(Enum):
| SSE_KMS = 'SSE-KMS'
SSE_S3 = 'SSE-S3'
| CSV = 'CSV'
JSON = 'JSON'
PARQUET = 'PARQUET'
EXCEL = 'EXCEL'
class TagMap(BaseModel):
pass
class Config:
extra = Extra.allow
class EncryptionKeyArn(Arn):
pass
class EncryptionMode(Enum):
| 64 | 64 | 27 | 5 | 58 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | EncryptionMode | EncryptionMode | 252 | 254 | 252 | 252 | 3d5c39108e15beb0aeb9bc874590683e6fa82852 | bigcode/the-stack | train |
ec5a9e44b87e7a627ba4e267 | train | class | class DescribeProjectResponse(BaseModel):
CreateDate: Optional[Date] = None
CreatedBy: Optional[CreatedBy] = None
DatasetName: Optional[DatasetName] = None
LastModifiedDate: Optional[Date] = None
LastModifiedBy: Optional[LastModifiedBy] = None
Name: ProjectName
RecipeName: Optional[RecipeNam... | class DescribeProjectResponse(BaseModel):
| CreateDate: Optional[Date] = None
CreatedBy: Optional[CreatedBy] = None
DatasetName: Optional[DatasetName] = None
LastModifiedDate: Optional[Date] = None
LastModifiedBy: Optional[LastModifiedBy] = None
Name: ProjectName
RecipeName: Optional[RecipeName] = None
ResourceArn: Optional[Arn] =... | Options: Optional[OutputFormatOptions] = None
class CreateScheduleResponse(BaseModel):
Name: ScheduleName
class DeleteDatasetResponse(CreateDatasetResponse):
pass
class DeleteProjectResponse(CreateProjectResponse):
pass
class DeleteScheduleResponse(CreateScheduleResponse):
pass
class DescribePro... | 64 | 64 | 165 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | DescribeProjectResponse | DescribeProjectResponse | 893 | 907 | 893 | 893 | 389065cb556d4d0ae328e88449a5b92505b6a3bb | bigcode/the-stack | train |
1543f2ba19256b4d837f75a1 | train | class | class DatabaseOutputMode(Enum):
NEW_TABLE = 'NEW_TABLE'
| class DatabaseOutputMode(Enum):
| NEW_TABLE = 'NEW_TABLE'
| ] = None
class DatabaseName(RecipeName):
pass
class TableName(RecipeName):
pass
class OverwriteOutput(AssumeControl):
pass
class GlueConnectionName(RecipeName):
pass
class DatabaseTableName(RecipeName):
pass
class DatabaseOutputMode(Enum):
| 64 | 64 | 14 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | DatabaseOutputMode | DatabaseOutputMode | 377 | 378 | 377 | 377 | abe060ed84ee6f0984beecebd5e02820f724efc4 | bigcode/the-stack | train |
ba0803e07d7dc9b848fc4b1e | train | class | class DatabaseOutputList(BaseModel):
__root__: Annotated[List[DatabaseOutput], Field(min_items=1)]
| class DatabaseOutputList(BaseModel):
| __root__: Annotated[List[DatabaseOutput], Field(min_items=1)]
| Optional[TagMap] = None
Timeout: Optional[Timeout] = None
JobSample: Optional[JobSample] = None
class DataCatalogOutputList(BaseModel):
__root__: Annotated[List[DataCatalogOutput], Field(min_items=1)]
class DatabaseOutputList(BaseModel):
| 63 | 64 | 24 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | DatabaseOutputList | DatabaseOutputList | 1,192 | 1,193 | 1,192 | 1,192 | 18635032b43855c8446bbd89cd071e7faa4f597a | bigcode/the-stack | train |
db0708b8b923a71ca869832e | train | class | class Order(Enum):
DESCENDING = 'DESCENDING'
ASCENDING = 'ASCENDING'
| class Order(Enum):
| DESCENDING = 'DESCENDING'
ASCENDING = 'ASCENDING'
| , regex='^[<>0-9A-Za-z_:)(!= ]+$')
]
class MaxFiles(BaseModel):
__root__: Annotated[int, Field(ge=1.0)]
class OrderedBy(Enum):
LAST_MODIFIED_DATE = 'LAST_MODIFIED_DATE'
class Order(Enum):
| 64 | 64 | 20 | 4 | 60 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | Order | Order | 542 | 544 | 542 | 542 | 23c349e329d0fb5f3da28e2a76f810c189fdd0f0 | bigcode/the-stack | train |
56dcca91c1b76f951e1b0309 | train | class | class RecipeDescription(ConditionValue):
pass
| class RecipeDescription(ConditionValue):
| pass
| RoleArn: Arn
Tags: Optional[TagMap] = None
class RecipeReference(BaseModel):
"""
Represents the name and version of a DataBrew recipe.
"""
Name: RecipeName
RecipeVersion: Optional[RecipeVersion] = None
class RecipeDescription(ConditionValue):
| 64 | 64 | 10 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | RecipeDescription | RecipeDescription | 314 | 315 | 314 | 314 | 279ee0a1b210b12f78aff89b433c11296091b95c | bigcode/the-stack | train |
3dbeebb2e84f7bde9130c67e | train | class | class DeleteRecipeVersionRequest(BaseModel):
pass
| class DeleteRecipeVersionRequest(BaseModel):
| pass
| min_length=2, regex='^[A-Za-z0-9_\\.#@\\-]+$')
]
class DeleteDatasetRequest(BaseModel):
pass
class DeleteJobRequest(BaseModel):
pass
class DeleteProjectRequest(BaseModel):
pass
class DeleteRecipeVersionRequest(BaseModel):
| 64 | 64 | 11 | 8 | 55 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | DeleteRecipeVersionRequest | DeleteRecipeVersionRequest | 436 | 437 | 436 | 436 | 00328048562c0ffd9cda49ddefbe98df652eff9f | bigcode/the-stack | train |
59572c4decd9f743d4ca3352 | train | class | class UpdateProjectResponse(BaseModel):
LastModifiedDate: Optional[Date] = None
Name: ProjectName
| class UpdateProjectResponse(BaseModel):
| LastModifiedDate: Optional[Date] = None
Name: ProjectName
| : JobRunId
class StartProjectSessionResponse(BaseModel):
Name: ProjectName
ClientSessionId: Optional[ClientSessionId] = None
class StopJobRunResponse(StartJobRunResponse):
pass
class UpdateDatasetResponse(CreateDatasetResponse):
pass
class UpdateProjectResponse(BaseModel):
| 64 | 64 | 25 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | UpdateProjectResponse | UpdateProjectResponse | 966 | 968 | 966 | 966 | 081f663445bb9a69e3129331f4a56e2303882027 | bigcode/the-stack | train |
abc3eefadda5189b99c32095 | train | class | class ScheduleName(RecipeName):
pass
| class ScheduleName(RecipeName):
| pass
| ConditionValue):
pass
class JobNameList(BaseModel):
__root__: Annotated[List[JobName], Field(max_items=50)]
class CronExpression(BaseModel):
__root__: Annotated[str, Field(max_length=512, min_length=1)]
class ScheduleName(RecipeName):
| 63 | 64 | 10 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ScheduleName | ScheduleName | 326 | 327 | 326 | 326 | bc679c62d7ca2834e0ac6be38de60815f219a8d9 | bigcode/the-stack | train |
d34d045dcb63398940a0356e | train | class | class TimezoneOffset(BaseModel):
__root__: Annotated[
str,
Field(
max_length=6, min_length=1, regex='^(Z|[-+](\\d|\\d{2}|\\d{2}:?\\d{2}))$'
),
]
| class TimezoneOffset(BaseModel):
| __root__: Annotated[
str,
Field(
max_length=6, min_length=1, regex='^(Z|[-+](\\d|\\d{2}|\\d{2}:?\\d{2}))$'
),
]
| RecipeName):
pass
class ParameterType(Enum):
Datetime = 'Datetime'
Number = 'Number'
String = 'String'
class DatetimeFormat(BaseModel):
__root__: Annotated[str, Field(max_length=100, min_length=2)]
class TimezoneOffset(BaseModel):
| 63 | 64 | 64 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | TimezoneOffset | TimezoneOffset | 409 | 415 | 409 | 409 | 97596bd09e0149ae4df353c3a97c8127d6478545 | bigcode/the-stack | train |
6f4e3c892c90fe1384ec8979 | train | class | class DescribeDatasetRequest(BaseModel):
pass
| class DescribeDatasetRequest(BaseModel):
| pass
| ]+$')
]
class DeleteDatasetRequest(BaseModel):
pass
class DeleteJobRequest(BaseModel):
pass
class DeleteProjectRequest(BaseModel):
pass
class DeleteRecipeVersionRequest(BaseModel):
pass
class DeleteScheduleRequest(BaseModel):
pass
class DescribeDatasetRequest(BaseModel):
| 64 | 64 | 10 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | DescribeDatasetRequest | DescribeDatasetRequest | 444 | 445 | 444 | 444 | 2bb8fa00cefe58d3055658e1e1ffe2fccc438a34 | bigcode/the-stack | train |
901c35a5176c520ed3bc0149 | train | class | class CsvOptions(BaseModel):
"""
Represents a set of options that define how DataBrew will read a comma-separated value (CSV) file when creating a dataset from that file.
"""
Delimiter: Optional[Delimiter] = None
HeaderRow: Optional[HeaderRow] = None
| class CsvOptions(BaseModel):
| """
Represents a set of options that define how DataBrew will read a comma-separated value (CSV) file when creating a dataset from that file.
"""
Delimiter: Optional[Delimiter] = None
HeaderRow: Optional[HeaderRow] = None
| ]
class CreateDatasetResponse(BaseModel):
Name: DatasetName
class JsonOptions(BaseModel):
"""
Represents the JSON-specific options that define how input is to be interpreted by Glue DataBrew.
"""
MultiLine: Optional[MultiLine] = None
class CsvOptions(BaseModel):
| 64 | 64 | 63 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | CsvOptions | CsvOptions | 777 | 783 | 777 | 777 | 0d11101e3b9573280ba8b26b4f85e8ec1585677e | bigcode/the-stack | train |
f0026c057f5dc54bd26dc7f0 | train | class | class BatchDeleteRecipeVersionResponse(BaseModel):
Name: RecipeName
Errors: Optional[RecipeErrorList] = None
| class BatchDeleteRecipeVersionResponse(BaseModel):
| Name: RecipeName
Errors: Optional[RecipeErrorList] = None
| Optional[DatabaseOutputList] = None
RoleArn: Arn
Timeout: Optional[Timeout] = None
class UpdateRecipeRequest(BaseModel):
Description: Optional[RecipeDescription] = None
Steps: Optional[RecipeStepList] = None
class BatchDeleteRecipeVersionResponse(BaseModel):
| 64 | 64 | 27 | 9 | 54 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | BatchDeleteRecipeVersionResponse | BatchDeleteRecipeVersionResponse | 1,377 | 1,379 | 1,377 | 1,377 | 431955414c9209868cb97089c23b91cfb4ba614c | bigcode/the-stack | train |
0c3238d10353031215e801e5 | train | class | class S3Location(BaseModel):
"""
Represents an Amazon S3 location (bucket name and object key) where DataBrew can read input data, or write output from a job.
"""
Bucket: Bucket
Key: Optional[Key] = None
| class S3Location(BaseModel):
| """
Represents an Amazon S3 location (bucket name and object key) where DataBrew can read input data, or write output from a job.
"""
Bucket: Bucket
Key: Optional[Key] = None
| """
Represents a set of options that define how DataBrew will read a comma-separated value (CSV) file when creating a dataset from that file.
"""
Delimiter: Optional[Delimiter] = None
HeaderRow: Optional[HeaderRow] = None
class S3Location(BaseModel):
| 64 | 64 | 56 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | S3Location | S3Location | 786 | 792 | 786 | 786 | afeb1327ca7c2dc69d19372673ec50ce08c5f7f6 | bigcode/the-stack | train |
f8d01fa49e6aed64a4f94592 | train | class | class FilesLimit(BaseModel):
"""
Represents a limit imposed on number of Amazon S3 files that should be selected for a dataset from a connected Amazon S3 path.
"""
MaxFiles: MaxFiles
OrderedBy: Optional[OrderedBy] = None
Order: Optional[Order] = None
| class FilesLimit(BaseModel):
| """
Represents a limit imposed on number of Amazon S3 files that should be selected for a dataset from a connected Amazon S3 path.
"""
MaxFiles: MaxFiles
OrderedBy: Optional[OrderedBy] = None
Order: Optional[Order] = None
| -aws.amazon.com/databrew/latest/dg/datasets.multiple-files.html#conditions.for.dynamic.datasets">Supported conditions for dynamic datasets</a> in the <i>Glue DataBrew Developer Guide</i>.
"""
Expression: Expression
ValuesMap: ValuesMap
class FilesLimit(BaseModel):
| 64 | 64 | 66 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | FilesLimit | FilesLimit | 825 | 832 | 825 | 825 | cc1136485e4a1bef758b1fb2976bde86488796d3 | bigcode/the-stack | train |
e1ad5991d4f277177ba7ad52 | train | class | class RecipeStep(BaseModel):
"""
Represents a single step from a DataBrew recipe to be performed.
"""
Action: RecipeAction
ConditionExpressions: Optional[ConditionExpressionList] = None
| class RecipeStep(BaseModel):
| """
Represents a single step from a DataBrew recipe to be performed.
"""
Action: RecipeAction
ConditionExpressions: Optional[ConditionExpressionList] = None
| NameList] = None
SheetIndexes: Optional[SheetIndexList] = None
HeaderRow: Optional[HeaderRow] = None
class ColumnStatisticsConfigurationList(BaseModel):
__root__: Annotated[List[ColumnStatisticsConfiguration], Field(min_items=1)]
class RecipeStep(BaseModel):
| 63 | 64 | 44 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | RecipeStep | RecipeStep | 1,097 | 1,103 | 1,097 | 1,097 | 49e827626393e7433799380dae319d84e369bce4 | bigcode/the-stack | train |
81bdd6e3f5abfcf6b6f5610c | train | class | class DeleteProjectRequest(BaseModel):
pass
| class DeleteProjectRequest(BaseModel):
| pass
| ated[
str, Field(max_length=100, min_length=2, regex='^[A-Za-z0-9_\\.#@\\-]+$')
]
class DeleteDatasetRequest(BaseModel):
pass
class DeleteJobRequest(BaseModel):
pass
class DeleteProjectRequest(BaseModel):
| 64 | 64 | 10 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | DeleteProjectRequest | DeleteProjectRequest | 432 | 433 | 432 | 432 | c7289f8217a5c189dd4ce75f92822fa75445b8f2 | bigcode/the-stack | train |
1e4259f47701f1c253cfa6d1 | train | class | class PathParametersMap(BaseModel):
"""
A structure that map names of parameters used in the Amazon S3 path of a dataset to their definitions. A definition includes parameter type and conditions.
"""
pass
class Config:
extra = Extra.allow
| class PathParametersMap(BaseModel):
| """
A structure that map names of parameters used in the Amazon S3 path of a dataset to their definitions. A definition includes parameter type and conditions.
"""
pass
class Config:
extra = Extra.allow
| (BaseModel):
__root__: Annotated[str, Field(max_length=16, min_length=1)]
class ConflictException(BaseModel):
__root__: Any
class ResourceNotFoundException(ConflictException):
pass
class ValidationException(ConflictException):
pass
class PathParametersMap(BaseModel):
| 64 | 64 | 54 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | PathParametersMap | PathParametersMap | 30 | 38 | 30 | 30 | 1b20a3fb16a85ae3bf9314d85ae33e9b68d870c4 | bigcode/the-stack | train |
c74cfb01eed0785a2118cdf8 | train | class | class UpdateRecipeRequest(BaseModel):
Description: Optional[RecipeDescription] = None
Steps: Optional[RecipeStepList] = None
| class UpdateRecipeRequest(BaseModel):
| Description: Optional[RecipeDescription] = None
Steps: Optional[RecipeStepList] = None
| None
Outputs: Optional[OutputList] = None
DataCatalogOutputs: Optional[DataCatalogOutputList] = None
DatabaseOutputs: Optional[DatabaseOutputList] = None
RoleArn: Arn
Timeout: Optional[Timeout] = None
class UpdateRecipeRequest(BaseModel):
| 64 | 64 | 30 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | UpdateRecipeRequest | UpdateRecipeRequest | 1,372 | 1,374 | 1,372 | 1,372 | 04000ef61cf89e0e5b1677e4273a70007ad85538 | bigcode/the-stack | train |
a53b05c1763dbfca03013b94 | train | class | class DeleteDatasetResponse(CreateDatasetResponse):
pass
| class DeleteDatasetResponse(CreateDatasetResponse):
| pass
| Columns: Optional[ColumnNameList] = None
Location: S3Location
Overwrite: Optional[OverwriteOutput] = None
FormatOptions: Optional[OutputFormatOptions] = None
class CreateScheduleResponse(BaseModel):
Name: ScheduleName
class DeleteDatasetResponse(CreateDatasetResponse):
| 64 | 64 | 11 | 8 | 55 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | DeleteDatasetResponse | DeleteDatasetResponse | 881 | 882 | 881 | 881 | 9e55beb7f528b3e85d09da437c221b626605bf93 | bigcode/the-stack | train |
729d0d8ccc90b1b4e75708f9 | train | class | class DeleteJobResponse(BaseModel):
Name: JobName
| class DeleteJobResponse(BaseModel):
| Name: JobName
| Exception):
pass
class RecipeName(BaseModel):
__root__: Annotated[str, Field(max_length=255, min_length=1)]
class JobName(BaseModel):
__root__: Annotated[str, Field(max_length=240, min_length=1)]
class DeleteJobResponse(BaseModel):
| 63 | 64 | 13 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | DeleteJobResponse | DeleteJobResponse | 92 | 93 | 92 | 92 | 96cc926bd674ef7b572c1fea6c5049f7807fe841 | bigcode/the-stack | train |
df88f5e3c327fcfa514666e3 | train | class | class ConflictException(BaseModel):
__root__: Any
| class ConflictException(BaseModel):
| __root__: Any
| import datetime
from enum import Enum
from typing import Annotated, Any, List, Optional
from pydantic import BaseModel, Extra, Field
class RecipeVersion(BaseModel):
__root__: Annotated[str, Field(max_length=16, min_length=1)]
class ConflictException(BaseModel):
| 63 | 64 | 12 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | ConflictException | ConflictException | 18 | 19 | 18 | 18 | cebafbe877d822fc8e5f5ea8f3e83ae9aa7001d4 | bigcode/the-stack | train |
94c11e350d6b4ba4f6f85475 | train | class | class TargetColumn(BaseModel):
__root__: Annotated[str, Field(max_length=1024, min_length=1)]
| class TargetColumn(BaseModel):
| __root__: Annotated[str, Field(max_length=1024, min_length=1)]
| '
class Condition(BaseModel):
__root__: Annotated[str, Field(max_length=128, min_length=1, regex='^[A-Z\\_]+$')]
class ConditionValue(BaseModel):
__root__: Annotated[str, Field(max_length=1024)]
class TargetColumn(BaseModel):
| 63 | 64 | 26 | 6 | 57 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | TargetColumn | TargetColumn | 212 | 213 | 212 | 212 | 68de5cee67d63f082b8fa0d85b2accb8532eeab4 | bigcode/the-stack | train |
17294dc7cf085be19391d4bb | train | class | class CreateDatasetRequest(BaseModel):
Name: DatasetName
Format: Optional[InputFormat] = None
FormatOptions: Optional[FormatOptions] = None
Input: Input
PathOptions: Optional[PathOptions] = None
Tags: Optional[TagMap] = None
| class CreateDatasetRequest(BaseModel):
| Name: DatasetName
Format: Optional[InputFormat] = None
FormatOptions: Optional[FormatOptions] = None
Input: Input
PathOptions: Optional[PathOptions] = None
Tags: Optional[TagMap] = None
| a set of options that define the structure of either comma-separated value (CSV), Excel, or JSON input.
"""
Json: Optional[JsonOptions] = None
Excel: Optional[ExcelOptions] = None
Csv: Optional[CsvOptions] = None
class CreateDatasetRequest(BaseModel):
| 64 | 64 | 64 | 7 | 56 | RyanJarv/Pacu2 | pacu/models/awsapi/databrew.py | Python | CreateDatasetRequest | CreateDatasetRequest | 1,153 | 1,159 | 1,153 | 1,153 | b776323679458ad34506c3e64032d9317c235b24 | bigcode/the-stack | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.