-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Align Glue component with Iberia deployment #25
Conversation
callarelli93
commented
Sep 19, 2024
- Configure Glue component like the Iberia deployment
- Choose sensible defaults
else f"s3://{self.code_repository_bucket}/{job.name}.py" | ||
|
||
@staticmethod | ||
def __get_default_arguments(job: GlueJobDefinition) -> dict[str, str]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@callarelli93 same as __create_glue_trigger
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, why are you defining it as a staticmethod?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because it's not depending on any other method or properties
""" | ||
Glue job definitions and infrastructure dependencies such as IAM roles, external connections, code and data storage. | ||
|
||
:param jobs: the list of GlueJobDefinition to deploy | ||
:param execution_role: the IAM role attached to the Glue jobs if it exists, if not one will be createdw | ||
:param database_name: name of the Glue database if it exists, if not one will be created | ||
:param code_repository_bucket_name: name of the s3 code repository database if it exists, if not one will be created | ||
:param data_bucket_name: name of the s3 bucket to store data, if it exists, if not one will be created | ||
:param kafka_checkpoints_bucket_name: name of the s3 bucket to store checkpoints if it exists, if not one will be created | ||
""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@callarelli93 we should also decide on the docstring standards and use one standard everywhere. The only important thing in choosing the standard is how well the standard is supported with MKDocs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kkiani In Inception, we agreed to continue with Google Style. I fixed all of the comments to be Google Style compatible.
82eeb76
to
da63efe
Compare
5fa9c6d
to
a20022f
Compare
ffa6826
to
e5730f8
Compare