Skip to content

v0.3.0

Latest
Compare
Choose a tag to compare
@lindel-dda lindel-dda released this 10 Mar 13:19
· 23 commits to master since this release
v0.3.0
0a71525

Added

  • MUNICIPALITY added to Precision enum
  • requests-cache added as optional dependency
  • excel_str_german property added to Detail
  • guid added as property to Observation and as argument with default generator (uuid4) to create method
  • export_date added as optional argument to Observation.create method
  • wkt added to Form model
  • RelationType model added
  • relations added to Observation model
  • direction added to Observation model
  • centroid added to Place model
  • order added to Place model
  • wkt added to Place model
  • local_name added to Site model
  • id_reference_locality added to Site model
  • id_protocol added to Site model
  • transect_places added to Site model
  • point_places added to Site model
  • polygon_places added to Site model
  • boundary_wkt added to Site model
  • observers added to Site model
  • place added to Site model
  • created_by added to Place model
  • created_date added to Place model
  • last_updated_by added to Place model
  • last_updated_date added to Place model
  • diff method added to Place model
  • id_waterbird_conditions setter added to Form model
  • comment setter added to Form model
  • protocol_headers argument added to form creation method
  • BadGatewayException added
  • retries argument to requests methods added
  • potential_breeding_pairs added to Observation model
  • ServiceUnavailableException added

Changed

  • observation.id_atlas_code returns the ornitho id prefixed with 3_
  • sites can now be retrieved directly via api endpoint
  • raise ObjectNotFoundException instead of APIException if no object is retrieved
  • observation.diff returns a dictionary containing the updated and deleted observations

Fixed

  • observation.mark_as_exported: subtract 2 seconds from default date