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

Fix typo "Hihlight" -> "Highlight" #66

Open
wants to merge 3 commits into
base: stable
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dbrest/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,4 +289,4 @@ def within(id_malette, id_sensors, n: hug.types.number, response):
generate_accessors(schema.PathNodeExtendedSchema())
generate_accessors(schema.VirtualtourSchema())
generate_accessors(schema.VirtualtourPathSchema())
generate_accessors(schema.VirtualtourHihlightSchema())
generate_accessors(schema.VirtualtourHighlightSchema())
2 changes: 1 addition & 1 deletion dbrest/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ class VirtualtourPath(Base):
['path_details.id_path_details', 'path_details.id_malette']))


class VirtualtourHihlight(Base):
class VirtualtourHighlight(Base):
""" Interesting points for the virtual tour """
__tablename__ = "virtualtour_highlight"
id_virtualtour_highlight = sa.Column(sa.Integer, primary_key=True, autoincrement=True)
Expand Down
8 changes: 4 additions & 4 deletions dbrest/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
from marshmallow import fields, decorators, ValidationError
import json

from dbrest.models import Campaign, Cp, Lot, Panorama, Sensors, Tile, PanoramaSensors, TrackEdge, Reconstruction, Shot, Path, PathNode, PathDetails, PathEdge, PathNodeExtended, Virtualtour, VirtualtourPath, VirtualtourHihlight
from dbrest.models import Campaign, Cp, Lot, Panorama, Sensors, Tile, PanoramaSensors, TrackEdge, Reconstruction, Shot, Path, PathNode, PathDetails, PathEdge, PathNodeExtended, Virtualtour, VirtualtourPath, VirtualtourHighlight
from dbrest.db import session

__all__ = ['CampaignSchema', 'CpSchema', 'LotSchema', 'LotWithSensorsSchema',
'SensorsSchema', 'TileSchema', 'PanoramaSensorsSchema', 'TrackEdgeSchema',
'ReconstructionSchema', 'ShotSchema', 'PathSchema',
'PathNodeSchema', 'PathDetailsSchema', 'PathEdgeSchema',
'VirtualtourSchema', 'VirtualtourPathSchema', 'VirtualtourHihlightSchema']
'VirtualtourSchema', 'VirtualtourPathSchema', 'VirtualtourHighlightSchema']


class BaseSchema(ModelSchema):
Expand Down Expand Up @@ -176,7 +176,7 @@ class Meta(BaseSchema.Meta):
model = VirtualtourPath


class VirtualtourHihlightSchema(BaseSchema):
class VirtualtourHighlightSchema(BaseSchema):
class Meta(BaseSchema.Meta):
model = VirtualtourHihlight
model = VirtualtourHighlight