hunk.code_window: #
   import os
   import time
   import datetime
   import six
   import re
  
hunk.labels: keep keep add keep keep keep keep keep
hunk.after_edit: import pathlib
  
hunk.file_path: airflow/contrib/hooks/qubole_hook.py
hunk.type: add
file: {# This template adds attributes unique
     to lineChart #}
  
  {% extends "content.html" %}
  {% block body %}
  
      {% block data %}
      {{super()}}
      {% endblock data %}
  
      {% block init %}
      {{super()}}
      {% endblock init %}
  
      {% block axes %}
      {{super()}}
      {% endblock axes %}
  
      {% if chart.x_axis_format == 'AM_PM' %}
          function get_am_pm(d){
              if (d > 12) {
                  d = d - 12; return (String(d) + 'PM');
              }
              else {
                  return (String(d) + 'AM');
              }
          };
      {% endif %}
  
      {% block legend %}
      {{super()}}
      {% endblock legend %}
  
      {% block custoattr %}
      {{super()}}
      {% endblock custoattr %}
  
      {% block inject %}
      {{ super() }}
      {% endblock inject %}
  
      {% block close %}
      {{ super() }}
      {% endblock close %}
  
  {% endblock body %}
  
  