Skip to content

Synthesis

albert.resources.synthesis

ColumnDescriptor

Bases: BaseAlbertModel

Show JSON schema:
{
  "properties": {
    "id": {
      "title": "Id",
      "type": "string"
    },
    "label": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Label"
    },
    "category": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Category"
    },
    "default": {
      "anyOf": [
        {},
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Default"
    },
    "type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Type"
    }
  },
  "required": [
    "id"
  ],
  "title": "ColumnDescriptor",
  "type": "object"
}

Fields:

id

id: str

label

label: str | None = None

category

category: str | None = None

default

default: Any | None = None

type

type: str | None = None

ColumnSequence

Bases: BaseAlbertModel

Show JSON schema:
{
  "$defs": {
    "ColumnDescriptor": {
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Label"
        },
        "category": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Category"
        },
        "default": {
          "anyOf": [
            {},
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Default"
        },
        "type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Type"
        }
      },
      "required": [
        "id"
      ],
      "title": "ColumnDescriptor",
      "type": "object"
    }
  },
  "properties": {
    "reactants": {
      "items": {
        "$ref": "#/$defs/ColumnDescriptor"
      },
      "title": "Reactants",
      "type": "array"
    },
    "products": {
      "items": {
        "$ref": "#/$defs/ColumnDescriptor"
      },
      "title": "Products",
      "type": "array"
    }
  },
  "title": "ColumnSequence",
  "type": "object"
}

Fields:

reactants

reactants: list[ColumnDescriptor]

products

RowSequence

Bases: BaseAlbertModel

Show JSON schema:
{
  "properties": {
    "reactants": {
      "items": {
        "type": "string"
      },
      "title": "Reactants",
      "type": "array"
    },
    "products": {
      "items": {
        "type": "string"
      },
      "title": "Products",
      "type": "array"
    }
  },
  "title": "RowSequence",
  "type": "object"
}

Fields:

reactants

reactants: list[str]

products

products: list[str]

ReactionParticipant

Bases: BaseAlbertModel

Show JSON schema:
{
  "properties": {
    "rowId": {
      "title": "Rowid",
      "type": "string"
    },
    "smiles": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Smiles"
    },
    "values": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Values"
    },
    "type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Type"
    },
    "limitingReagent": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Limitingreagent"
    }
  },
  "required": [
    "rowId"
  ],
  "title": "ReactionParticipant",
  "type": "object"
}

Fields:

row_id

row_id: str

smiles

smiles: str | None = None

values

values: dict[str, Any] | None = None

type

type: str | None = None

limiting_reagent

limiting_reagent: str | bool | None = None

Synthesis

Bases: BaseAlbertModel

Show JSON schema:
{
  "$defs": {
    "AuditFields": {
      "description": "The audit fields for a resource",
      "properties": {
        "by": {
          "default": null,
          "title": "By",
          "type": "string"
        },
        "byName": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Byname"
        },
        "at": {
          "anyOf": [
            {
              "format": "date-time",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "At"
        }
      },
      "title": "AuditFields",
      "type": "object"
    },
    "ColumnDescriptor": {
      "properties": {
        "id": {
          "title": "Id",
          "type": "string"
        },
        "label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Label"
        },
        "category": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Category"
        },
        "default": {
          "anyOf": [
            {},
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Default"
        },
        "type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Type"
        }
      },
      "required": [
        "id"
      ],
      "title": "ColumnDescriptor",
      "type": "object"
    },
    "ColumnSequence": {
      "properties": {
        "reactants": {
          "items": {
            "$ref": "#/$defs/ColumnDescriptor"
          },
          "title": "Reactants",
          "type": "array"
        },
        "products": {
          "items": {
            "$ref": "#/$defs/ColumnDescriptor"
          },
          "title": "Products",
          "type": "array"
        }
      },
      "title": "ColumnSequence",
      "type": "object"
    },
    "ReactionParticipant": {
      "properties": {
        "rowId": {
          "title": "Rowid",
          "type": "string"
        },
        "smiles": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Smiles"
        },
        "values": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Values"
        },
        "type": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Type"
        },
        "limitingReagent": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Limitingreagent"
        }
      },
      "required": [
        "rowId"
      ],
      "title": "ReactionParticipant",
      "type": "object"
    },
    "RowSequence": {
      "properties": {
        "reactants": {
          "items": {
            "type": "string"
          },
          "title": "Reactants",
          "type": "array"
        },
        "products": {
          "items": {
            "type": "string"
          },
          "title": "Products",
          "type": "array"
        }
      },
      "title": "RowSequence",
      "type": "object"
    }
  },
  "properties": {
    "albertId": {
      "title": "Albertid",
      "type": "string"
    },
    "parentId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Parentid"
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Name"
    },
    "status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Status"
    },
    "blockId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Blockid"
    },
    "inventoryId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Inventoryid"
    },
    "hideReactionWorksheet": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Hidereactionworksheet"
    },
    "s3Key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "S3Key"
    },
    "canvasData": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Canvasdata"
    },
    "smiles": {
      "items": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ]
      },
      "title": "Smiles",
      "type": "array"
    },
    "reactants": {
      "items": {
        "$ref": "#/$defs/ReactionParticipant"
      },
      "title": "Reactants",
      "type": "array"
    },
    "products": {
      "items": {
        "$ref": "#/$defs/ReactionParticipant"
      },
      "title": "Products",
      "type": "array"
    },
    "columnSequence": {
      "anyOf": [
        {
          "$ref": "#/$defs/ColumnSequence"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "rowSequence": {
      "anyOf": [
        {
          "$ref": "#/$defs/RowSequence"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "Created": {
      "anyOf": [
        {
          "$ref": "#/$defs/AuditFields"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "Updated": {
      "anyOf": [
        {
          "$ref": "#/$defs/AuditFields"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    }
  },
  "required": [
    "albertId"
  ],
  "title": "Synthesis",
  "type": "object"
}

Fields:

id

parent_id

parent_id: NotebookId | str | None = None

name

name: str | None = None

status

status: str | None = None

block_id

block_id: str | None = None

inventory_id

inventory_id: str | None = None

hide_reaction_worksheet

hide_reaction_worksheet: str | bool | None = None

s3_key

s3_key: str | None = None

canvas_data

canvas_data: dict[str, Any] | None = None

smiles

smiles: list[str | None]

reactants

products

column_sequence

column_sequence: ColumnSequence | None = None

row_sequence

row_sequence: RowSequence | None = None

created

created: AuditFields | None = None

updated

updated: AuditFields | None = None

ReactantValues

Bases: BaseAlbertModel

Show JSON schema:
{
  "properties": {
    "mass": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Mass"
    },
    "moles": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Moles"
    },
    "eq": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Eq"
    },
    "concentration": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Concentration"
    }
  },
  "title": "ReactantValues",
  "type": "object"
}

Fields:

mass

mass: float | None = None

moles

moles: float | None = None

eq

eq: float | None = None

concentration

concentration: float | int | None = None