Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Betty 0.4.0a4 documentation
Logo
Betty 0.4.0a4 documentation
  • Installation
    • Installation via pip
    • Installation from source
  • Usage
    • Ancestry
      • Citation
      • Dates
      • Enclosure
      • Event
      • Event Type
      • File
      • File reference
      • Link
      • Media Type
      • Note
      • Person
      • Person Name
      • Place
      • Place Name
      • Presence
      • Presence Role
      • Privacy
      • Source
    • Asset Management
    • The command line
    • Application configuration
    • Environment variables
    • Extensions
      • The Cotton Candy extension
      • The Deriver extension
      • The Gramps extension
      • The HTTP API Documentation extension
      • The Maps extension
      • The nginx extension
      • The Privatizer extension
      • The Trees extension
      • The Wikipedia extension
    • GEDCOM
    • npm
    • Plugins
      • Entry point plugins
    • Projects
      • Project configuration
    • Templating
      • Filters
      • Globals
      • Tests
    • Translations
  • Development
    • Developing a Betty extension
    • Working on Betty’s translations
    • Testing Betty’s source code
  • API Documentation
  • About
    • Contributing to Betty
    • Copyright & license
Back to top
View this page

Link¶

A betty.model.ancestry.Link adds external links to entities.

Fields¶

Notes inherit from:

  • Privacy

description (optional str)

The link’s human-readable description.

locale (optional str)

The locale of the referenced resource as an IETF BCP 47 language tag.

label (optional str)

The human-readable label of this link, e.g. the link text.

media_type (MediaType)

The media type of the referenced resource.

relationship (optional str)

The relationship between this resource this link is set on and the link target.

url (url)

The URL to the referenced resource.

Next
Media Type
Previous
File reference
Copyright © Bart Feenstra and contributors
Made with Sphinx and @pradyunsg's Furo
On this page
  • Link
    • Fields