title: Apache AIRFLOW - How to send arguments to Python Script
body: <p>In <code>Admin-&gt;Connection</code> I set an <code>Conn Type S3</code>.</p>
  <p>Basically I have this code in My Python script:</p>
  <pre><code>if __name__ == '__main__':
      AWS_ACCESS_KEY_ID = &quot;...&quot;
      AWS_SECRET_ACCESS_KEY = &quot;...&quot;
      AWS_DEFAULT_REGION = &quot;...&quot;
      Start_Work
  </code></pre>
  <p>What I want to do is call my script from Airflow and pass to it the arguments for the connection (instead of hard code them in the script).</p>
  <p>How do I do that?</p>
  <p>Let's assume that this is the connection:
  <a href="https://i.stack.imgur.com/z94gL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z94gL.png" alt="enter image description here" /></a></p>
  <p>How do I access each filed data?</p>