Skip to content

Renamed macros to field_templates#47

Merged
shaharyarn merged 2 commits intomasterfrom
change/use-field-templates
Sep 22, 2020
Merged

Renamed macros to field_templates#47
shaharyarn merged 2 commits intomasterfrom
change/use-field-templates

Conversation

@shaharyarn
Copy link
Copy Markdown
Collaborator

No description provided.

def validate_fields(
fields: List[str],
macros: Optional[Dict[str, List[str]]] = None,
fields: List[str], field_templates: Optional[Dict[str, List[str]]] = None
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comment on formatting

def _expand_macros(
self, fields: List[str], macros: Optional[Dict[str, List[str]]]
def _expand_field_templates(
self, fields: List[str], field_templates: Optional[Dict[str, List[str]]]
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe also need to run Black here? Or does it place multiple parameters in the same line?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is blacked. It does place the parameters in the same line.
Same goes for the other formatting comment.

Copy link
Copy Markdown
Collaborator

@yehonatanz yehonatanz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved up to @tomlegkov's comments

@shaharyarn shaharyarn merged commit cfa76c1 into master Sep 22, 2020
@shaharyarn shaharyarn deleted the change/use-field-templates branch September 22, 2020 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants