title: How to parse unix timestamp into datetime without timezone in Fast API
body: <p>Assume I have a pydantic model</p>
  <pre><code>class EventEditRequest(BaseModel):
      uid: UUID
      name: str
      start_dt: datetime
      end_dt: datetime
  </code></pre>
  <p>I send request with body <code>b'{&quot;uid&quot;:&quot;a38a7543-20ca-4a50-ab4e-e6a3ae379d3c&quot;,&quot;name&quot;:&quot;test event2222&quot;,&quot;start_dt&quot;:1600414328,&quot;end_dt&quot;:1600450327}'</code></p>
  <p>So both <code>start_dt</code> and <code>end_dt</code> are unix timestamps. But in endpoint they become datetimes with timezones.</p>
  <pre><code>@app.put('...')
  def edit_event(event_data: EventEditRequest):
      event_data.start_dt.tzinfo is not None  # True
  </code></pre>
  <p>I don't want to manually edit <code>start_dt</code> and <code>end_dt</code> in the endpoint function to get rid of timezones. How can I set up my pydantic model so it will make datetime without timezones?</p>