Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1 - handle ManyToMany and OneToMany fields for Trek and POI #5

Open
IdrissaD opened this issue Apr 12, 2022 · 4 comments
Open

1 - handle ManyToMany and OneToMany fields for Trek and POI #5

IdrissaD opened this issue Apr 12, 2022 · 4 comments
Labels

Comments

@IdrissaD
Copy link
Contributor

sources, themes, ratings, networks, etc.

@IdrissaD IdrissaD added the GAG label Apr 12, 2022
@IdrissaD
Copy link
Contributor Author

IdrissaD commented Apr 21, 2022

Trek:

Fields appearing in API to import with mapping:

  • children/parents
  • ratings: RatingCategory to map?
  • themes
  • networks

Fields appearing in API to import without mapping (all values from source should be present in GAG before the aggregation, thus imported manually):

  • source
  • labels
  • information_desks
  • accessibilities
  • web_links: WebLink categories are imported manuallu without mapping too

Fields not appearing in API:

  • related_treks
  • pois_excluded

Fields appearing in API but not interesting to import:

  • portal

@IdrissaD
Copy link
Contributor Author

IdrissaD commented Apr 28, 2022

  • Separate functions for ManyToMany and ManyToOne fields

IdrissaD added a commit that referenced this issue Apr 29, 2022
@IdrissaD IdrissaD changed the title 1 - handle ManyToMany fields for Trek and POI 1 - handle ManyToMany and OneToMany fields for Trek and POI May 2, 2022
IdrissaD added a commit that referenced this issue May 2, 2022
IdrissaD added a commit that referenced this issue May 2, 2022
IdrissaD added a commit that referenced this issue May 2, 2022
Handle ManyToMany and OneToMany fields for Trek - #5
IdrissaD added a commit that referenced this issue May 2, 2022
Handle ManyToMany and OneToMany fields for Trek - #5
@IdrissaD
Copy link
Contributor Author

IdrissaD commented May 2, 2022

POI:

Fields not appearing in API:

  • course_pois_excluded
  • site_pois_excluded
  • trek_pois_excluded

@IdrissaD
Copy link
Contributor Author

IdrissaD commented May 2, 2022

  • Use common dict for generic fields like reservationsystem, themes, source or informationdesk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant