-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add `template` benchmark add relative complex MiniJinja template for benchmark [skip ci]
- Loading branch information
1 parent
8c07c21
commit cd7e480
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Incident Report #{{Unique_Key}} | ||
|
||
Created: {{Created_Date}} | ||
{% if Closed_Date %}Closed: {{Closed_Date}}{% endif %} | ||
Status: {{Status}} | ||
|
||
Agency: {{Agency}} ({{Agency_Name}}) | ||
Complaint: {{Complaint_Type}} | ||
Description: {{Descriptor}} | ||
|
||
Location Details: | ||
{% if Location_Type %}Type: {{Location_Type}}{% endif %} | ||
{% if Incident_Address %}Address: {{Incident_Address}}{% endif %} | ||
{% if Street_Name %}Street: {{Street_Name}}{% endif %} | ||
{% if Cross_Street_1 and Cross_Street_2 %}Between: {{Cross_Street_1}} and {{Cross_Street_2}}{% endif %} | ||
{% if City %}City: {{City}}{% endif %} | ||
Borough: {{Borough}} | ||
{% if Incident_Zip %}ZIP: {{Incident_Zip}}{% endif %} | ||
{% if Latitude and Longitude %}Coordinates: {{Latitude}}, {{Longitude}}{% endif %} | ||
|
||
{% if Resolution_Description %} | ||
Resolution: | ||
{{Resolution_Description}} | ||
{% endif %} | ||
|
||
{% if Community_Board %}Community Board: {{Community_Board}}{% endif %} | ||
Channel: {{Open_Data_Channel_Type}} | ||
|
||
----------------------------------------------------------------------- | ||
|