---
title: Attributes
description: Attributes define a set of properties on source code elements.
url: https://docs.influxdata.com/flux/v0/spec/attributes/
estimated_tokens: 568
product: Flux
version: v0
---

# Attributes

Attributes define a set of properties on source code elements.

```js
Attributes             = { Attribute } .
Attribute              = "@" identifier AttributeParameters .
AttributeParameters    = "(" [ AttributeParameterList [ "," ] ] ")" .
AttributeParameterList = AttributeParameter { "," AttributeParameter } .
AttributeParameter     = PrimaryExpression
```

The runtime specifies the set of defined attributes and their meaning.

##### Example attributes

```js
@edition("2022.1")
package main
```

[Packages](/flux/v0/spec/packages/) [Statements](/flux/v0/spec/statements/)
